Coder Social home page Coder Social logo

Comments (5)

zeekus avatar zeekus commented on June 27, 2024

seem to get a similar error when I run this on our controller node without mpiexec.

[centos@ip-10-137-0-172 tune44h]$ /modeling/pschism/icm_Balg/build/bin/pschism_ICM_ANALYSIS_PREC_EVAP_TVD-VL

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x2B815BBEC6D7
#1 0x2B815BBECD1E
#2 0x2B815C89B3FF
#3 0x53C5D0 in calkwq_
#4 0x554151 in ecosystem_
#5 0x45F1EC in schism_step_
#6 0x404C4B in schism_main_
#7 0x404CB6 in MAIN__ at schism_driver.F90:?
Segmentation fault (core dumped)

from schism.

zeekus avatar zeekus commented on June 27, 2024

It appears pschism will work on AWS pcluster if Intel Ifortan and Intel MPI libraries are used. I am thinking that this code may not be compatible with Gfortran. Has anyone successfully run pschism on Gfortran ? To get things to compile on our end I had to modify two files. Maybe there are other Gfortran compatiblity issues I am missing.

Files and lines modified:

  1. File: ./icm_Balg/src/Hydro/schism_init.F90:5451.114
  2. File: ./icm_Balg/src/ICM/icm_sed_flux.F90

Ref: ./icm_Balg/src/Hydro/schism_init.F90:5451.114
Summary: array format issue. All strings need to be the same size for gfortran to compile.

','CPOC ','tlfveg ','tstveg ','trtveg ','hcanveg','lfsav ','stsav ','rts

Error: Different CHARACTER lengths (7/6) in array constructor at (1)
make[3]: *** [Hydro/CMakeFiles/hydro.dir/schism_init.F90.o] Error 1
make[2]: *** [Hydro/CMakeFiles/hydro.dir/all] Error 2
make[1]: *** [Driver/CMakeFiles/pschism.dir/rule] Error 2

Ref: ./icm_Balg/src/ICM/read_icm_input.F90:326:
Summary: Gfortan seems to process '/*' as a closing comment in line 326.

Output:
/modeling/pschism/icm_Balg/src/ICM/read_icm_input.F90:326:0: warning: extra tokens at end of #endif directive [enabled by default]
#endif ICM_PH
^
/modeling/pschism/icm_Balg/src/ICM/icm_sed_flux.F90:1385:0: error: unterminated comment
!with all state variables in unit of g/*, no need to transfer
^
Error: Unexpected end of file in '/modeling/pschism/icm_Balg/src/ICM/icm_sed_flux.F90'
make[3]: *** [ICM/CMakeFiles/icm.dir/icm_sed_flux.F90.o] Error 1
make[3]: *** Waiting for unfinished jobs....

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

zeekus avatar zeekus commented on June 27, 2024

Thanks. It seems I was using the wrong version.

#version pulled
[centos@ip-10-137-0-172 tune44h]$ /modeling/pschism/icm_Balg/build/bin/pschism_ICM_ANALYSIS_PREC_EVAP_TVD-VL -version

schism v5.9.0mod
git hash 2e289ae (20 commits since semantic tag, edits=False)

#version 5.10
[centos@ip-10-137-0-172 tune44h]$ /modeling/pschism/icm_Balg_v5.10/build/bin/pschism_ICM_ANALYSIS_PREC_EVAP_TVD-VL -version

schism develop
git hash aaa98b3

The proper version seems to be running.

[centos@ip-10-137-0-172 tune44h]$ squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
248 compute pschism_ centos R 19:13 8 compute-dy-slurmworkers-[1-8]

ifort (IFORT) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

from schism.

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.