Hello everyone,
I am trying to compile Build.Bash file for upwelling, all seem to be Okay but the last lines appear to be wrong and show some errors:
cd /home/maziar/ROMSmaziar/Projects_Maziar/upwelling/Build; /home/maziar/Downloads/q/mpich-3.0.4/bin/mpif90 -c -frepack-arrays -g -fbounds-check -fbacktrace -finit-real=nan -ffpe-trap=invalid,zero,overflow -ffree-form -ffree-line-length-none analytical.f90
analytical.f90:587.22:
rdrag(i,j)=???
1
Error: Invalid character in name at (1)
analytical.f90:825.14:
ana_grid.h: no values provided for Xsize, Esize, depth, f0, beta.
1
Error: 'ana_grid' at (1) is not a variable
analytical.f90:2124.14:
ana_vmix.h: no values provided for Akv.
1
Error: 'ana_vmix' at (1) is not a variable
analytical.f90:2143.14:
ana_vmix.h: no values provided for Akt.
1
Error: 'ana_vmix' at (1) is not a variable
make: *** [/home/maziar/ROMSmaziar/Projects_Maziar/upwelling/Build/analytical.o] Error 1
[maziar@localhost upwelling]$
would you please kindly let me know what goes wrong?
Kind regards
Maziar
compling build.bash
Re: compling build.bash
the compilation is using some ana* files (looks like ana_grid.h and ana_vmix.h) I suggest you:
- copy those 2 files from ROMS/Functionals and place them in the directory with your project.h file
- edit those files and provide the necessary information (they have examples in them).
- make sure your build.bash points to those ana files with the line:
export MY_ANALYTICAL_DIR=${MY_PROJECT_DIR}/Projects/....path to those files
-recompile
-john
- copy those 2 files from ROMS/Functionals and place them in the directory with your project.h file
- edit those files and provide the necessary information (they have examples in them).
- make sure your build.bash points to those ana files with the line:
export MY_ANALYTICAL_DIR=${MY_PROJECT_DIR}/Projects/....path to those files
-recompile
-john
Re: compling build.bash
Hi dear John,
Many thanks for the reply.
With the help of you and a friend, now it works.
Great thanks
Many thanks for the reply.
With the help of you and a friend, now it works.
Great thanks
jcwarner wrote:the compilation is using some ana* files (looks like ana_grid.h and ana_vmix.h) I suggest you:
- copy those 2 files from ROMS/Functionals and place them in the directory with your project.h file
- edit those files and provide the necessary information (they have examples in them).
- make sure your build.bash points to those ana files with the line:
export MY_ANALYTICAL_DIR=${MY_PROJECT_DIR}/Projects/....path to those files
-recompile
-john