-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
got error while compiling #1
Comments
It looks like somehow your pre-processor is not running properly. |
Hi Jody. |
https://en.wikipedia.org/wiki/C_preprocessor it translates things like _RL to 'Real*8'. Maybe you just need to remove *.for files. I'm not sure I underhand the question about equations. Its a simple body force, applied in units of m/s^2... |
For example, where does the '(tidefreqtidefreq - ff)/tidefreq' come from? Haven't seen this in other places... Is this a parameter we get when we take the derivative of the tidal potential? |
If you want to force a velocity you need an acceleration that is the derivative of the velocity. |
I think I found the error, it is the
I changed the Cheers |
Hi Jody, thanks for the sharing. I tried to use your code but when running 'make' I got the error message below:
Do you have any idea what causes this? It may be helpful if you can share the details of how you compile the code usually. What I did was:
module load openmpi/intel/4.0.5
module load netcdf-fortran/intel/4.5.3
/home/qx344/MitgcmTutor/MITgcm/tools/genmake2 -rootdir /home/qx344/MitgcmTutor/MITgcm/ -mods /home/qx344/MitgcmTutor/MITgcm/verification/20kmMPRun/code/ -mpi -optfile /home/qx344/MitgcmTutor/MITgcm/tools/build_options/linux_amd64_ifort11
make depend
make
Thanks in advance!
The text was updated successfully, but these errors were encountered: