But now I faced a make problem:
Code: Select all
mpicc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -m64 -fPIC -fPIC -I/home/ettaka/elmer/include -I/opt/mpich2/gnu64//include -MT binio.o -MD -MP -MF .deps/binio.Tpo -c -o binio.o binio.c
mv -f .deps/binio.Tpo .deps/binio.Po
mpif90 -I. -I.. -O -m64 -fPIC -fPIC -I. -Ibinio -I/opt/mpich2/gnu64//include -c -o kinds.o kinds.f90
pathf95 WARNING: -O3 conflicts with -O; using latter value (-O)
rm -f libbinio.a
ar cru libbinio.a binio.o kinds.o biniomod.o
ranlib libbinio.a
make[4]: Leaving directory `/home/ettaka/trunk/fem/src/binio'
make[3]: Leaving directory `/home/ettaka/trunk/fem/src/binio'
make[3]: Entering directory `/home/ettaka/trunk/fem/src'
mpif90 -O -m64 -fPIC -fPIC -I. -Ibinio -I/opt/mpich2/gnu64//include -c iso_varying_string.f90
pathf95 WARNING: -O3 conflicts with -O; using latter value (-O)
module iso_varying_string
^
pathf95-855 pathf95: ERROR ISO_VARYING_STRING, File = iso_varying_string.f90, Line = 42, Column = 8
The compiler has detected errors in module "ISO_VARYING_STRING". No module information file will be created for this module.
character(LEN=1), dimension(:), allocatable :: chars
^
pathf95-190 pathf95: ERROR ISO_VARYING_STRING, File = iso_varying_string.f90, Line = 56, Column = 24
Component "CHARS" does not have a POINTER attribute so its dimension must be an explicit-shape array with constant bounds.
^
pathf95-197 pathf95: ERROR ISO_VARYING_STRING, File = iso_varying_string.f90, Line = 56, Column = 38
Unexpected syntax: "POINTER or DIMENSION" was expected but found "ALLOCATABLE".
elemental function op_concat_VS_VS (string_a, string_b) result (concat_string)
^
pathf95-287 pathf95: WARNING OP_CONCAT_VS_VS, File = iso_varying_string.f90, Line = 334, Column = 67
The result of function name "CONCAT_STRING" in the function subprogram is not defined.
elemental function var_str_ (char) result (string)
^
pathf95-287 pathf95: WARNING VAR_STR_, File = iso_varying_string.f90, Line = 1325, Column = 46
The result of function name "STRING" in the function subprogram is not defined.
pathf95: PathScale(TM) Fortran Version 2.2.1 (f14) Fri Sep 25, 2009 13:01:11
pathf95: 2453 source lines
pathf95: 3 Error(s), 2 Warning(s), 0 Other message(s), 0 ANSI(s)
pathf95: "explain pathf95-message number" gives more information about each message
make[3]: *** [iso_varying_string.o] Error 2
make[3]: Leaving directory `/home/ettaka/trunk/fem/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ettaka/trunk/fem/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ettaka/trunk/fem'
make: *** [all] Error 2
cheers,
Eelis