When I was compiling ROMS, it gave me this error, even after I set in the makefile "MPI=off"
1. The problem is the "inline"?
2. Among f90 files, I could not find the mod_kinds.f90
3. In the propagator.f90, there are only two lines:
MODULE propagator_mod
END MODULE propagator_mod
Your suggestions will greatly appreciated!
Thanks.
Fan
/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/ocean_control.F > ocean_control.f90
/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"
gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE
Compiling problem
Re: Compiling problem
You told it you are using the PGI compiler. Are you using the PGI compiler? You are using mpif90 which could be a wrapper around anything. It's invoking something called f951. That's the compiler that doesn't like the PGI options.papaya wrote:/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"
gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE
By the way, don't worry about the propogator code being empty. You're just not using the options where it would be used.
Re: Compiling problem
Thanks Kate.
Yes, the compiler is not configured properly.
Yes, the compiler is not configured properly.
kate wrote:You told it you are using the PGI compiler. Are you using the PGI compiler? You are using mpif90 which could be a wrapper around anything. It's invoking something called f951. That's the compiler that doesn't like the PGI options.papaya wrote:/usr/bin/cpp -P -traditional -I/usr/local/packages/netcdf/4.1.3/mvapich2-1.6/gcc-4.4.5/include -DMPI -DLINUX -DX86_64 -DPGI -IInclude -IAdjoint -INonlinear -IRepresenter -ITangent -IDrivers -ISeaIce Drivers/propagator.F > propagator.f90
Bin/cpp_clean ocean_control.f90
Bin/cpp_clean propagator.f90
mpif90 -c -O4 -fastsse -Mipa=fast,inline mod_kinds.f90
f951: error: unrecognized command line option "-Mipa=fast,inline"
f951: error: unrecognized command line option "-fastsse"
gmake: *** [mod_kinds.o] Error 1
gmake: *** Waiting for unfinished jobs....
rm seaice.f90 mod_kinds.f90
mv: cannot stat `oceanS': No such file or directory
./ROSS_compile: line 19: gamke: command not found
--- COMPILE COMPLETE
By the way, don't worry about the propogator code being empty. You're just not using the options where it would be used.