-
Notifications
You must be signed in to change notification settings - Fork 32
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
No specific subroutine for the generic ‘nuopc_updatetimestamp’ #89
Comments
This is still a problem, occurring now on my ubuntu ESMF/8.2.0 system @pvelissariou1 |
Copied from email thread by @pvelissariou1 Without going into the documentation,
|
OK, so the problem is that ESMF_VERSION_MAJOR is not known? At least, it is not defined on the command line:
|
It seems that NEMS' build system does not include the ESMF_CPPFLAGS, possibly not even about ESMF itself? |
So the problem is that the version is not defined in
|
In GNUMakefile, the transfer of the version information to CPPFLAGS should be here:
|
This can be worked around by exporting ESMF_MAJOR_VERSION=8, but that is not a sustainable solution. Somewhere along the way, the ESMF information is not transferred through the build system. |
Dear Carsten hi,
The ESMFMKFILE (esmf.mk) is loaded from NEMS/src/conf/configure.nems.NUOPC
in CoastalAPP
and during compilation all available ESMF_* variables are defined there.
I attach my esmf.mk to check against.
There it is defined:
ESMF_VERSION_MAJOR=8
Never had this issue before.
I used esmf 7.*, 8.0, 8.1
Let's see where the problem is.
Takis
Panagiotis Velissariou, Ph.D., P.E.
UCAR Scientist
National Ocean and Atmospheric Administration
National Ocean Service
Office of Coast Survey CSDL/CMMB
Project Lead - Coastal Coupling
cell: (205) 227-9141
email: ***@***.***
…On Fri, Jun 10, 2022 at 9:21 AM Carsten Lemmen ***@***.***> wrote:
This can be worked around by exporting ESMF_MAJOR_VERSION=8, but that is
not a sustainable solution. Somewhere along the way, the ESMF information
is not transferred through the build system.
—
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APC7TPZP2ZVXNXCNG46R3WDVONFO5ANCNFSM5JPHH2IA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@pvelissariou1 , indeed the problem might be in the CoastalPaa rather than in NEMS. On our HPC gnu system levante and on my Desktop gnu system these errors appear. Something related to the shell environment? Here's the module files for my gnu system:
So ESMFMKFILE is defined but somehow gets lost on the way from CoastlApp to NEMS... |
NEMS loads ESMF internally as long as the ESMFMKFILE is set by the OS.
Are all modules loading properly?
Panagiotis Velissariou, Ph.D., P.E.
UCAR Scientist
National Ocean and Atmospheric Administration
National Ocean Service
Office of Coast Survey CSDL/CMMB
Project Lead - Coastal Coupling
cell: (205) 227-9141
email: ***@***.***
…On Fri, Jun 10, 2022 at 9:53 AM Carsten Lemmen ***@***.***> wrote:
@pvelissariou1 <https://github.com/pvelissariou1> , indeed the problem
might be in the CoastalPaa rather than in NEMS. On our HPC gnu system
levante and on my Desktop gnu system these errors appear. Something related
to the shell environment? Here's the module files for my gnu system:
myDIRS="$(cd "$(dirname "$(realpath -s "${BASH_SOURCE[0]}" )" )" && pwd -P)"
myDIRS="${myDIRS} . ${APPMODS_DIR}"
####################
# Install via apt instsall libparmetis-dev
export METIS_DIR=/usr
####################
### (2) Set some environments varaiables related to the loaded
### modules and required to compile the NEMS application properly.
funcs="$( find ${myDIRS} -type f -iname "PlatformFuncs" | head -n 1 )"
if [ -f "${funcs}" ]; then
source "${funcs}"
get_env_hdf5
get_env_netcdf
fi
unset funcs myDIRS
# apt install libnetcdff-dev libnetcdf-dev libhdf5-openmpi-dev
export NETCDFHOME=/usr
export HDF5HOME=/usr
export METISHOME=/usr
export PARMETISHOME=/usr
export NETCDF_CONFIG=${NETCDFHOME:+${NETCDFHOME}/bin/nc-config}
export NETCDF_INCDIR=${NETCDFHOME:+${NETCDFHOME}/include}
export NETCDF_LIBDIR=${NETCDFHOME:+${NETCDFHOME}/lib}
export ESMFMKFILE=${ESMFMKFILE}
So ESMFMKFILE is defined but somehow gets lost on the way from CoastlApp
to NEMS...
—
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APC7TP5VSOVQXK6NR7APO73VONJHHANCNFSM5JPHH2IA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Modules are loaded and ESMFMKFILE is correctly defined on the shell. So, NEMS does not load it despite it being defined. |
Can we set a meeting to see how this can be fixed? Also the #102 issue.
Maybe today at 1:15 pm CT?
Panagiotis Velissariou, Ph.D., P.E.
UCAR Scientist
National Ocean and Atmospheric Administration
National Ocean Service
Office of Coast Survey CSDL/CMMB
Project Lead - Coastal Coupling
cell: (205) 227-9141
email: ***@***.***
…On Fri, Jun 10, 2022 at 10:03 AM Carsten Lemmen ***@***.***> wrote:
Modules are loaded and ESMFMKFILE is correctly defined on the shell. So,
NEMS does not load it despite it being defined.
—
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APC7TPYGZPPA4DKV5MD6INLVONKJZANCNFSM5JPHH2IA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sure, but we have the VIMS meeting at 1 pm if I am not mistaken. I'd be available 12-1pm CT or after the VIMS meeting (from 2pm CT) |
This problem occurs also on my Mac laptop with ESMF 8.4 installed:
|
Closing the issue. If @platipodium still reports problems we may reopen it. |
On branch
feature/schism
andubuntu/gcc/openmpi
I get:The text was updated successfully, but these errors were encountered: