Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Jul 22, 2019 2:16 pm




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
 Post subject: compling build.bash
PostPosted: Tue Nov 06, 2018 5:53 am 
Offline

Joined: Mon Sep 24, 2018 7:40 pm
Posts: 5
Location: INIOAS
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


Top
 Profile  
Reply with quote  
 Post subject: Re: compling build.bash
PostPosted: Tue Nov 06, 2018 1:19 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 786
Location: USGS, USA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: compling build.bash
PostPosted: Mon Nov 12, 2018 9:06 am 
Offline

Joined: Mon Sep 24, 2018 7:40 pm
Posts: 5
Location: INIOAS
Hi dear John,

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group