Hello everyone.
I have an error when compiling ROMS. It is a known error, but I can not solve it and I have executed all the recommendations. The fault is:
cp -f /usr/local/include/netcdf.mod /home/company/har/bsg/project/upwelling/Build
cp: can not stat '/usr/local/include/netcdf.mod': No such file or directory
I have Netcdf installed correctly. I have put the full path to NF_CONFIG to NETCDF_INCDIR and to NETCDF_LIBDIR. The problem in that when I run the build.bash script it keeps looking for the netcdf.mod file in the path that it is not.
Has anyone managed to solve this step?
Thank you very much.
netcdf.mod | impossible to solve
Re: netcdf.mod | impossible to solve
Hi.
Someone could help me, I'm still stuck in the same step.
Thank you very much.
Someone could help me, I'm still stuck in the same step.
Thank you very much.
Re: netcdf.mod | impossible to solve
Did you set USE_NETCDF4? I would. I would also clean out that whole NETCDF_INCDIR section of the build.bash so that it's clearer what code is actually being used.
In fact, I don't use build.bash, but then you have to go back to an older Makefile that still works without build.bash.
In fact, I don't use build.bash, but then you have to go back to an older Makefile that still works without build.bash.
Re: netcdf.mod | impossible to solve
Hi. Sorry for the error, I had the following in build.bash:
export USE_NETCFD=on
The letter F is before the D. Believe me that I read the command about 100 times and I did not realize. As you told me if the command was well placed, I read it again and saw it.
Now you find the file. I have another error, but it's from gfortran, so NETCDF is fixed.
Thank you very much for the reply.
export USE_NETCFD=on
The letter F is before the D. Believe me that I read the command about 100 times and I did not realize. As you told me if the command was well placed, I read it again and saw it.
Now you find the file. I have another error, but it's from gfortran, so NETCDF is fixed.
Thank you very much for the reply.