I've already installed roms-3.2 without any problem. Now I need to install the 2.1 roms version.
I get the follow error message (file not found):
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -IInclude -INonlinear -IDrivers Nonlinear/analytical.F > analytical.f90
analytical.f90
make: analytical.f90: Comando não encontrado
make: ** [analytical.f90] Erro 127
What am I doing wrong?
compiling error - file not found
-
- Posts: 39
- Joined: Wed Feb 18, 2004 3:50 pm
- Location: Instituto de Meteorologia
Re: compiling error - file not found
You expect us to remember ROMS 2.1? The build was different in that it put the .f90 and .o files in your current directory, not in a Build directory. Like modern ROMS, it would first invoke cpp, then the Fortran compiler. I believe it's not getting the Fortran compiler. Have you checked to make sure there's a Compilers/Linux-gfortran.mk file? Does it match the other files there or did you copy it from new ROMS? The command that failed should be something like:
I don't know why you didn't get at least the -c. Running "make -p" will show all the symbols that make knows about (it's long). I assume analytical is the first file it tried to compile?
Code: Select all
$(FC) -c $(FFLAGS) analytical.f90
- arango
- Site Admin
- Posts: 1356
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: compiling error - file not found
But why do you want to use ROMS 2.1? This version is 6 years old
Many thinks has been corrected and improved since there. We keep this in the repository for historical reasons ![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Perhaps, the best thing that we can do is to block the access to these old versions of ROMS, if this continue happening.
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Perhaps, the best thing that we can do is to block the access to these old versions of ROMS, if this continue happening.