when i compile the ROMS,there was an error as following:
cd /home/lenove/Projects/Upwelling/Build/modkinds.f90
0d /zi mod_kinds.f90 /object:mod_kinds.o
/bin/sh: -c:commmand not found
make:*** [/home/lenove/Projects/Upwelling/Build/mod_kinds.o]
who can help me deal with the above problem? thank you!
the build.bash file was also attached.
problems from compiling the ROMS
problems from compiling the ROMS
- Attachments
-
- build.bash
- (16.82 KiB) Downloaded 294 times
Re: problems from compiling the ROMS
This one has made it into the FAQ. I hope it's clear enough.
Re: problems from compiling the ROMS
thank you very much. i don't know how to set FC to the null string and what is meant? where i shoud make this set? is it in the build.bash or somewhere?
Re: problems from compiling the ROMS
You have opted to use the ifort compiler and to not USE_MPI. Therefore, the FC string gets set to ifort in Compilers/Linux-ifort.mk (assuming you are on Linux). What happens when you type "which ifort" from the command line?
It is in Compilers/Linux-ifort.mk that you have:
For me, this would set FC to the null string since I get:
I instead have to pick FORT=pgi and I get:
It is in Compilers/Linux-ifort.mk that you have:
Code: Select all
#
# Use full path of compiler.
#
FC := $(shell which ${FC})
LD := $(FC)
Code: Select all
delta 881% which ifort
ifort: Command not found.
Code: Select all
delta 882% which pgf90
/usr/local/pkg/pgi/pgi-13.4/linux86-64/13.4/bin/pgf90