Hi
i can run upwelling test succesfully and get some netcdf files as out put. Also i install NCL6.1.2 binary eithout OpeNDAP support . And i download PLOT directory too. i choice
gfortran as roms comliler Also i set netcdf libraries in build.bash file as bellow:
export NC_CONFIG=/home/fkomijani/NETCD4.2.1.1/bin/nc-config
export NETCDF_INCDIR=/home/fkomijani/NETCD4.2.1.1/include
therefore i just change FORT ?= gfortran in makefile and then run:
[fkomijani@localhost TRUNK]$ make
but i this error arise:
makefile:238: INCLUDING FILE /home/fkomijani/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /usr/local/include/netcdf.mod Build
cp: cannot stat `/usr/local/include/netcdf.mod': No such file or directory
make: *** No rule to make target `Build/netcdf.mod', needed by `Build/MakeDepend'. Stop.
it seems that makefile is searching netcdf libraries in /usr/local path. But why? I set netcdf libraries in build.bash in specified way. Therefore i expect that makefile get those path from build.bash.
How can i fix this error.
thanks
make command
Re: make command
Build.bash is for compiling ROMS, not the plotting code. The plotting code has not received as much care and is a bit more primitive. You need to set the netcdf location in the Compilers/OS-gfortran.mk within the plotting code directory.
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: make command
The plotting package has its own build script: src/Bin/build_plt.bash and src/Bin/build_plt.sh in its repository. You can also customize this build script in the same way as ROMS build script.
-
- Posts: 79
- Joined: Sun Dec 30, 2012 2:58 pm
- Location: inio:Iranian National Institute for Oceanography
Re: make command
Dear
i found my mistake. But I do not think I would solve it without your guides. Thank you so much for your help.
cheers
fereshte
i found my mistake. But I do not think I would solve it without your guides. Thank you so much for your help.
cheers
fereshte