I am trying to compile roms by typing make from the roms directory and i get the following message:
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cd Build; pgf90 -c -O3 -tp k8-64 mod_kinds.f90
/bin/sh: pgf90: not found
make: *** [Build/mod_kinds.o] Error 127
i am running it on linux using gfortran as compiler
I would very much appreciate any help. thanks!
Laia
error pgf90:not found - compiling roms in linux
-
- Posts: 64
- Joined: Mon Oct 17, 2005 2:02 am
- Location: Institute of Oceanology,Chinese Academy of Sciences
Re: error pgf90:not found - compiling roms in linux
Hello,because the model try to use pgf90 as the fortran compiler which you do not have,instead of the gfortran compiler you want.LR11 wrote:mod_kinds.f90
/bin/sh: pgf90: not found
make: *** [Build/mod_kinds.o] Error 127
i am running it on linux using gfortran as compiler
Laia
So,change the FORT variable from pgf90 to gfortran in makefile or build.bash,depending on which you use.
Re: error pgf90:not found - compiling roms in linux
HI, thanks for your response, i changed the makefile and i still get the following error:
In file included from Compilers/make_macros.h:16:
Compilers/../ROMS/Include/cppdefs.h:712:22: error: /home/laia/roms/trunk/upwelling.h: No such file or directory
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
makefile:449: warning: overriding commands for target `Build'
Master/Module.mk:22: warning: ignoring old commands for target `Build'
cd Build; mpif90 -c -frepack-arrays -O3 -ffast-math mod_kinds.f90
/bin/sh: mpif90: not found
I did not have any problems compiling roms in cygwin before, but i am doing something wrong in linux i can't spot. thanks a lot for helping
L
In file included from Compilers/make_macros.h:16:
Compilers/../ROMS/Include/cppdefs.h:712:22: error: /home/laia/roms/trunk/upwelling.h: No such file or directory
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
makefile:449: warning: overriding commands for target `Build'
Master/Module.mk:22: warning: ignoring old commands for target `Build'
cd Build; mpif90 -c -frepack-arrays -O3 -ffast-math mod_kinds.f90
/bin/sh: mpif90: not found
I did not have any problems compiling roms in cygwin before, but i am doing something wrong in linux i can't spot. thanks a lot for helping
L
linzhenhua wrote:Hello,because the model try to use pgf90 as the fortran compiler which you do not have,instead of the gfortran compiler you want.LR11 wrote:mod_kinds.f90
/bin/sh: pgf90: not found
make: *** [Build/mod_kinds.o] Error 127
i am running it on linux using gfortran as compiler
Laia
So,change the FORT variable from pgf90 to gfortran in makefile or build.bash,depending on which you use.
Re: error pgf90:not found - compiling roms in linux
it finally worked! i followed the cygwin tutorial and compile it using build.bash - although i am running it on linux.
thanks a lot
L
thanks a lot
L
LR11 wrote:HI, thanks for your response, i changed the makefile and i still get the following error:
In file included from Compilers/make_macros.h:16:
Compilers/../ROMS/Include/cppdefs.h:712:22: error: /home/laia/roms/trunk/upwelling.h: No such file or directory
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
makefile:449: warning: overriding commands for target `Build'
Master/Module.mk:22: warning: ignoring old commands for target `Build'
cd Build; mpif90 -c -frepack-arrays -O3 -ffast-math mod_kinds.f90
/bin/sh: mpif90: not found
I did not have any problems compiling roms in cygwin before, but i am doing something wrong in linux i can't spot. thanks a lot for helping
L
linzhenhua wrote:Hello,because the model try to use pgf90 as the fortran compiler which you do not have,instead of the gfortran compiler you want.LR11 wrote:mod_kinds.f90
/bin/sh: pgf90: not found
make: *** [Build/mod_kinds.o] Error 127
i am running it on linux using gfortran as compiler
Laia
So,change the FORT variable from pgf90 to gfortran in makefile or build.bash,depending on which you use.