-
Notifications
You must be signed in to change notification settings - Fork 33
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
WW3/SCHSIM integration and CoastalApp pre-requirements #102
Comments
|
@platipodium I apologize for that, I have fixed the issue in
I will continue to look for the change that broke this, again sorry! |
|
Side note for NEMS:
still issues with |
|
here are the differences between the |
we found a few incompatibilities when building, so I will revert |
build error:
|
I will work on this on schism-dev/features schism and PR |
building
|
Work required on |
# Rule for cleaning the SRCDIR and BINDIR:
clean_SCHISM:
+cd $(SCHISM_ROOTDIR)/schism-esmf; exec $(MAKE) DESTDIR=$(SCHISM_BINDIR) SCHISM_BUILD_DIR=$(SCHISM_BLDDIR) -k clean
+cd $(SCHISM_BLDDIR) ; exec $(MAKE) -k clean
@echo ""
distclean_SCHISM: clean_SCHISM
+cd $(SCHISM_ROOTDIR)/schism-esmf; exec $(MAKE) DESTDIR=$(SCHISM_BINDIR) SCHISM_BUILD_DIR=$(SCHISM_BLDDIR) -k distclean
+cd $(SCHISM_BLDDIR) ; exec $(MAKE) -k distclean
rm -rf $(SCHISM_BINDIR)
@echo "" |
With the updates in NEMS and schism-esmf the |
done, see below: |
I need help to make progress on femto with compilation of WW3. Still no idea how we get the wrong compiler env in the build system, nor how to get rid of it @pvelissariou1 and @awest-noaa |
I fixed
|
WW3 compiles fine on strand (intel/intelmpi) but not on femto (intel/openmpi) nor levante (gcc/openmpi) |
levante:~/devel/noaa/CoastalApp/WW3/model/tmp/ww3_prnc.err 190 | USE NETCDF |
femto:~/devel/noaa/CoastalApp/WW3/model/tmp/ww3_prnc.err |
setenv WWATCH3_NETCDF NC4 .ww3.env setenv WWATCH3_NETCDF NC4 Environment variables for wavewatch III---------------------------------------WWATCH3_LPR printer |
WWATCH3_ENV := $(WW3_BINDIR)/wwatch3.env This file will overwrite the contents of previously set variables. |
I think these should be obtained from ESMFMKFILE (my 2ct)... Takis will work on more consistency in the near future. |
This info is also contained in ESMF's CMake provided |
@platipodium Not sure if this is helpful to you... We did the following for our ADCIRC/WW3/ATMESH Docker image build to resolve the WW3 gnu/linux build issues with the netcdf dependent WW3 components: sed 's/`$NETCDF_CONFIG --fc`/gfortran/g' -i WW3/model/bin/comp.tmpl
sed 's/`$NETCDF_CONFIG --includedir`/\/usr\/local\/include/g' -i WW3/model/bin/comp.tmpl
sed 's/`$NETCDF_CONFIG --fc`/gfortran/g' -i WW3/model/bin/link.tmpl
sed 's/`$NETCDF_CONFIG --includedir`/\/usr\/local\/include/g' -i WW3/model/bin/link.tmpl
sed 's/`$NETCDF_CONFIG --flibs`/-L\/usr\/local\/lib -lnetcdff -lnetcdf /g' -i WW3/model/bin/link.tmpl Not sure why the backticks are not getting processed correctly, but this brute forces the required outputs for our cases, where we have manually built netcdf4, netcdf fortran and hdf5 into the |
Thanks @acrosby the workaround is fine. So somehow the shell script is not portable to gnu systems, maybe we need the $( ) command or similar.. @pvelissariou1 |
New problem #152 different compile issue on femto |
Problems persists on femto:
|
From meeting on 3/1/2022
@platipodium @awest-noaa @josephzhang8 @zacharyburnettNOAA
Next steps on CoastalApp repo side:
schism-dev/feature/schism
intonoaa-ocs-modeling/feature/schism
#104Andre will provide the test case to Joseph.
The text was updated successfully, but these errors were encountered: