-
Notifications
You must be signed in to change notification settings - Fork 111
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
trouble using build/rebuild cycle #1023
Comments
@DeniseWorthen - let me try to reproduce this error. Can you list the exact steps you are doing? |
Check out the develop branch. +CMAKE_FLAGS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Debug}" then [Hera: hfe10] /scratch1/NCEPDEV/nems/Denise.Worthen/WORK/UFS_UTILS: ./build_all.sh Next I added a print statement in sorc/ocnice_prep.fd/ocniceprep.F90 and tried to rebuild /scratch1/NCEPDEV/nems/Denise.Worthen/WORK/UFS_UTILS/build: make oiprep I get errors posted above about gfortran etc. |
I get the same error. The I don't load any modules when I log in to Hera. In that situation, the default compiler appears to be Gnu. To get around this, I did the following:
See if that works for you. |
Yes, thanks, that worked. I don't load any modules by default either, but I must have had some leftover from earlier work in the same terminal. I should have checked that. |
When doing development, I have previous re-built my executable by cd'ing into the build directory and using
make executable
. For exampleThat doesn't appear to work currently. If I'm compiling in debug, I get the following
If I switch back to the intel compiler
compiler=${compiler:-"intel"}
in build_all.sh, the rebuilding works in debug modeThe text was updated successfully, but these errors were encountered: