Coder Social home page Coder Social logo

Comments (10)

 avatar commented on June 28, 2024

spinup runs fine, but hotstart has the following error:

 Zachary.Burnett@hfe02  runs/unperturbed
 > cat PET00.ESMF_LogFile
20210713 135940.941 INFO             PET00 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20210713 135940.959 INFO             PET00 !!! THE ESMF_LOG IS SET TO OUTPUT ALL LOG MESSAGES !!!
20210713 135940.959 INFO             PET00 !!!     THIS MAY CAUSE SLOWDOWN IN PERFORMANCE     !!!
20210713 135940.959 INFO             PET00 !!! FOR PRODUCTION RUNS, USE:                      !!!
20210713 135940.959 INFO             PET00 !!!                   ESMF_LOGKIND_Multi_On_Error  !!!
20210713 135940.959 INFO             PET00 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20210713 135940.959 INFO             PET00 Running with ESMF Version   : ESMF_8_1_0_beta_snapshot_25
20210713 135940.960 INFO             PET00 ESMF library build date/time: "Aug  6 2020" "00:05:49"
20210713 135940.960 INFO             PET00 ESMF library build location : /scratch1/NCEPDEV/nems/emc.nemspara/soft/esmf/src/ESMF_8_1_0_beta_snapshot_25
20210713 135940.960 INFO             PET00 ESMF_COMM                   : intelmpi
20210713 135940.962 INFO             PET00 ESMF_NETCDF                 : enabled
20210713 135940.963 INFO             PET00 ESMF_PNETCDF                : disabled
20210713 135940.963 INFO             PET00 ESMF_PIO                    : enabled
20210713 135940.963 INFO             PET00 ESMF_YAMLCPP                : enabled
20210713 135940.963 INFO             PET00 ESMF_MOAB                   : enabled
20210713 135940.965 TRACE            PET00  ESMF_LogSet() !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20210713 135940.966 TRACE            PET00  ESMF_LogSet() !!!       TRACING is disabled         !!!
20210713 135940.966 TRACE            PET00  ESMF_LogSet() !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20210713 135941.018 ERROR            PET00 module_NEMS_GRID_COMP.F90:407 Not found  - Breaking out of subroutine
20210713 135941.018 ERROR            PET00 MAIN_NEMS.F90:476 Not found  - Aborting NEMS
20210713 135941.018 INFO             PET00 Finalizing ESMF

from coastalapp.

 avatar commented on June 28, 2024

copied to the following directory on Orion:

/work/noaa/nosofs/share/working/takis/atmesh-adcirc-sandy_hera_20210713

from coastalapp.

pvelissariou1 avatar pvelissariou1 commented on June 28, 2024

Zach, please make sure that you have module_NEMS_GRID_COMP.F90 and not module_NEMS_GRID_COMP.f90

from coastalapp.

 avatar commented on June 28, 2024

Zach, please make sure that you have module_NEMS_GRID_COMP.F90 and not module_NEMS_GRID_COMP.f90

It appears that module_NEMS_GRID_COMP.F90 exists at https://github.com/noaa-ocs-modeling/NEMS/tree/3ce35af91375cf080f54f7f060cabe84a8cba6c2/src, and not module_NEMS_GRID_COMP.f90

I had padcirc and aswip enabled at https://github.com/adcirc/adcirc-cg/blob/2a241de46be087c58e697654b2fb915b29ceea2f/thirdparty/nuopc/make_nuopc.sh#L75-L81, so I removed those lines and am building again to see if that fixes this problem

from coastalapp.

 avatar commented on June 28, 2024

when building

sh ./build.sh --plat hera --component "ADCIRC ATMESH" --compiler intel

WITHOUT padcirc and aswip, the build completes and makes NEMS.x

however, when building padcirc and aswip:

index 9e3efae..93583c3 100755
--- a/thirdparty/nuopc/make_nuopc.sh
+++ b/thirdparty/nuopc/make_nuopc.sh
@@ -77,7 +77,8 @@ pushd ${ADCDIR}/work >/dev/null 2>&1
   export MAKELEVEL=0
   make compiler=${comp_opt} NETCDF=enable NETCDF4=enable libadc.a
   make compiler=${comp_opt} NETCDF=enable NETCDF4=enable adcprep
-  #make padcirc -d compiler=${comp_opt} NETCDFLAG=enable NETCDF4FLAG=enable NETCDF4_COMPRESSION=enable
+  make compiler=${comp_opt} NETCDF=enable NETCDF4=enable NETCDF4_COMPRESSION=enable -d padcirc
+  make aswip
 popd >/dev/null 2>&1

 # build ADCIRC NUOPC

the build fails with the following:

mpiifort -c -g -traceback -fp-model precise -g -traceback -check arg_temp_created,bounds,format,output_conversion,stack,uninit -fPIC -assume realloc_lhs -m64 -mcmodel=small -pthread -threads  -qopenmp -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/esmf/8.1.0bs25g-intel18.0.5.274-impi2018.0.4-netcdf4.7.4_parallel.release/mod -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/esmf/8.1.0bs25g-intel18.0.5.274-impi2018.0.4-netcdf4.7.4_parallel.release/include -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/include -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/include  -DESMF_NO_INTEGER_1_BYTE -DESMF_NO_INTEGER_2_BYTE -DESMFVERSIONGIT='ESMF_8_1_0_beta_snapshot_25' -DESMF_MOAB=1 -DESMF_LAPACK=1 -DESMF_LAPACK_INTERNAL=1 -DESMF_NO_ACC_SOFTWARE_STACK=1 -DESMF_NETCDF=1 -DESMF_YAMLCPP=1 -DESMF_YAML=1 -DESMF_PIO=1 -DESMF_MPIIO -DESMF_NO_OPENACC -DESMF_BOPT_g -DESMF_TESTCOMPTUNNEL -DSx86_64_small=1 -DESMF_OS_Linux=1 -DESMF_COMM=intelmpi -DESMF_DIR=/scratch1/NCEPDEV/nems/emc.nemspara/soft/esmf/src/ESMF_8_1_0_beta_snapshot_25 -I. -I/scratch2/COASTAL/coastal/save/shared/repositories/CoastalApp_PaHM/ADCIRC/work/odircp -I/scratch2/COASTAL/coastal/save/shared/repositories/CoastalApp_PaHM/ADCIRC/prep -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/include    -I/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/include    -L. -L/scratch2/COASTAL/coastal/save/shared/repositories/CoastalApp_PaHM/ADCIRC  -L/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/lib -L/scratch1/NCEPDEV/nems/emc.nemspara/soft/netcdf_parallel_release/lib -DWITHPETLISTS_on  -g -traceback  -DESMF_VERSION_MAJOR=8 couple2swan_modif.F90
couple2swan_modif.F90(17): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SIZES]
      USE SIZES,  ONLY: SZ
----------^
couple2swan_modif.F90(18): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [WRITE_OUTPUT]
      USE WRITE_OUTPUT, ONLY : terminate
----------^
couple2swan_modif.F90(19): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [GLOBAL]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
----------^
couple2swan_modif.F90(27): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ) ,ALLOCATABLE :: ADCIRC_SXX(:,:)
-----------^
couple2swan_modif.F90(28): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ) ,ALLOCATABLE :: ADCIRC_SXY(:,:)
-----------^
couple2swan_modif.F90(29): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ) ,ALLOCATABLE :: ADCIRC_SYY(:,:)
-----------^
couple2swan_modif.F90(37): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ) :: InterpoWeight
-----------^
couple2swan_modif.F90(50): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [GLOBAL]
      USE GLOBAL, ONLY: NODECODE, NOFF, RSNX2, RSNY2
----------^
couple2swan_modif.F90(51): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SIZES]
      USE SIZES, ONLY: SZ
----------^
couple2swan_modif.F90(52): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MESH]
      USE MESH, ONLY : NE, NM, NP, X, Y, AREAS, NODELE, NEITABELE
----------^
couple2swan_modif.F90(53): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [BOUNDARIES]
      USE BOUNDARIES, ONLY : NBDV, NBOU, NBVV, NOPE, NVDLL, NVELL
----------^
couple2swan_modif.F90(68): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: DSXXDX(:)
-----------^
couple2swan_modif.F90(69): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: DSXYDY(:)
-----------^
couple2swan_modif.F90(70): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: DSXYDX(:)
-----------^
couple2swan_modif.F90(71): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: DSYYDY(:)
-----------^
couple2swan_modif.F90(73): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ)             :: NCELE
-----------^
couple2swan_modif.F90(75): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: TEMP_SXX(:)
-----------^
couple2swan_modif.F90(76): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: TEMP_SXY(:)
-----------^
couple2swan_modif.F90(77): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ),ALLOCATABLE :: TEMP_SYY(:)
-----------^
couple2swan_modif.F90(79): error #6683: A kind type parameter must be a compile-time constant.   [SZ]
      REAL(SZ) :: TOTALAREA
-----------^
couple2swan_modif.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [ERROR]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
-----------------------------------------------------^
couple2swan_modif.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [DEBUG]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
-------------------------^
couple2swan_modif.F90(17): error #6580: Name in only-list does not exist or is not accessible.   [SZ]
      USE SIZES,  ONLY: SZ
------------------------^
couple2swan_modif.F90(18): error #6580: Name in only-list does not exist or is not accessible.   [TERMINATE]
      USE WRITE_OUTPUT, ONLY : terminate
-------------------------------^
couple2swan_modif.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [ECHO]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
--------------------------------^
couple2swan_modif.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [INFO]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
--------------------------------------^
couple2swan_modif.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [WARNING]
      USE GLOBAL, ONLY : DEBUG, ECHO, INFO, WARNING, ERROR, &
--------------------------------------------^
couple2swan_modif.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [SETMESSAGESOURCE]
                setMessageSource, unsetMessageSource, allMessage, &
----------------^
couple2swan_modif.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [UNSETMESSAGESOURCE]
                setMessageSource, unsetMessageSource, allMessage, &
----------------------------------^
couple2swan_modif.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [ALLMESSAGE]
                setMessageSource, unsetMessageSource, allMessage, &
------------------------------------------------------^
/tmp/ifortUWJmX6.i90(276): catastrophic error: Too many errors, exiting
compilation aborted for couple2swan_modif.F90 (code 1)
make[1]: *** [couple2swan_modif.o] Error 1
make[1]: Leaving directory `/scratch2/COASTAL/coastal/save/shared/repositories/CoastalApp_PaHM/ADCIRC/thirdparty/nuopc'
make: *** [/scratch2/COASTAL/coastal/save/shared/repositories/CoastalApp_PaHM/ADCIRC_INSTALL/adcirc.mk] Error 2

from coastalapp.

pvelissariou1 avatar pvelissariou1 commented on June 28, 2024

Ok, this is because the NUOPC cap only knows about adcirc not padcirc. So it will fail. Why you need padcirc?

from coastalapp.

pvelissariou1 avatar pvelissariou1 commented on June 28, 2024

from coastalapp.

 avatar commented on June 28, 2024

Ok, this is because the NUOPC cap only knows about adcirc not padcirc. So it will fail. Why you need padcirc?

this is true, I wanted to build alongside to run an ADCIRC-only run but I don't need to

from coastalapp.

saeed-moghimi-noaa avatar saeed-moghimi-noaa commented on June 28, 2024

@zacharyburnettNOAA , Please update this issue. Add a link to actual test case on Hera. Close the issue if it is done. Thanks, -Saeed

from coastalapp.

 avatar commented on June 28, 2024

@zacharyburnettNOAA , Please update this issue. Add a link to actual test case on Hera. Close the issue if it is done. Thanks, -Saeed

I put a working configuration in NAMED_STORMS and also in the mesh_configurations repository, closing

from coastalapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.