-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Does make_topog need MAXXGRID, nthreads? #35
Comments
The build on NCCS was with Intel 19.1.3 and Intel MPI 19.1.3 |
Also, on our system ETA: I also tried his code with |
Just to report further on what we tried, increasing
does solve the issue and it produces a topography file that looks okay! Note:
FYI: The other option of increasing |
@sanAkel @mathomp4 |
Thank you @ngs333 I tried following: I reverted to:
Does it need to be set in both of those Makefiles?? Moreover, it crashed! Totally puzzled! 😕 (For sanity sake, I went back to #35 (comment) and it worked fine as it did then and produced identical answer.)
|
@sanAkel
#!/bin/bash
export FC=mpifort
export F77=mpifort
export CC=mpicc
export CXX=mpiCC
export FCFLAGS="-fcray-pointer -Waliasing -ffree-line-length-none -fno-range-check -O2 -g -W -fbounds-check
-ffpe-trap=invalid,zero,overflow `nf-config --fflags ` "
export CPPFLAGS="-O2 -g `nc-config --cflags ` "
export CFLAGS="-O2 -g `nc-config --cflags ` "
export LDFLAGS=" `nc-config --cflags ` " Note there is some redundancy in the FLAGS that can be removed.
3a. under dir FRE-NCTools, I make a directory (say build) and then: 4 in the build directory, type
What I like having a build directory is: #ifndef MAXXGRID
#define MAXXGRID 1e6
#endif Finally, when I proceed as above, I never have to manually change the makefiles - the configure program does it all. Good luck |
@sanAkel Can this issue be closed? |
@sanAkel sure. Take your time |
Hi @ngs333,
With above progress, I guess we can close this issue, since going forward, following a suggestion from @raphaeldussin, I plan to try https://github.com/nikizadehgfdl/ocean_model_topog_generator from @nikizadehgfdl. Thanks for all the help! |
Is your question related to a problem? Please describe.
I am trying to generate a topography:
And I get following output:
Describe what you have tried
ocean_hgrid.nc
was generated with:And then used that to generate the
ocean_mosaic.nc
I get the exact same error with
make_topog_parallel
as well. I also triedmpirun -np 10 make_topog_parallel ...
all args as above.@mathomp4 would be able to fill in the build details on NCCS NASA. Thank you @mathomp4
Appreciate your help, Thanks!
The text was updated successfully, but these errors were encountered: