[swanmodel-users] Issue with Running SWAN Using MPI
Brought to you by:
mzijlema
|
From: Ali A. <sra...@gm...> - 2024-06-26 16:35:47
|
Dear SWAN Users,
I hope this email finds you well. I am currently working on a project using
SWAN version 41.45 on Ubuntu 22.04, and I have encountered an issue when
trying to run SWAN using MPI.
Here are the details of my setup and the problem I am facing:
System Specifications:
CPU: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
Operating System: Ubuntu 22.04
Fortran Compiler: gfortran (GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04)
11.4.0)
MPI Implementation: OpenMPI 4.1.4
SWAN Input File:
$ ************************* Start-up *************************
$
PROJECT 'Caspian Sea' '01'
Set NAUTical
MODE NONSTationary ONEDimensional
$ MODE STationary ONEDimensional
$
$ ************************* Computational Grids *************************
$
CGRID REG 0 0 0 260 0 26 0 CIRcle 180 0.04 0.6345
$
$ ************************* Input Grids & Data *************************
$
INPgrid BOTtom REG 0 0 0 260 0 1 0
$
READinp BOTtom 1 'Input/Bathymetry2.bot' 1 0 FREE
$
$ ************************* Boundary & Initial Con
*************************
$
BOUndspec SIDE N CCW VARiable FILE 0 'Input/Boundspec1Dnr.txt'
$
$ ************************* Physics *************************
$
GEN3
$
OFF QUAD
$
$ BREaking CON 1 0.55
BREaking TG GAMMA 0.42
$
$ ************************* Outputs *************************
$
POINTS 'Section1' FILE 'Output/Section2.loc'
TABLE 'Section1' HEAD 'Output/Section2.tab' HSIGN DIR PDIR TM01 RTP
TPS TM02 DEPTH OUTPUT 20140304.080000 3600 Sec
$ TABLE 'Section1' HEAD 'Output\Sectionn.tab' HSIGN DIR PDIR TM01
RTP TPS TM02 DEPTH
COMPute NONSTationary 20140304.080000 100 SEC 20140315.230000
$ COMPute STationary
STOP
Command Used:
bash
*mpirun -n 2 ./swan.exe*
Output/Error Message:
*SWAN is preparing computationAbort(4) on node 0 (rank 0 in comm 0):
application called MPI_Abort(MPI_COMM_WORLD, 4) - process 0Both the
printfile and Errfile are empty.*
Additional Information:
The input files *Bathymetry2.bot* and *Boundspec1Dnr.txt* are located in
the Input directory with appropriate permissions.
I have verified that the paths in the input file are correct.
SWAN is Installed correctly in mpi mode.
Request:
I would greatly appreciate any guidance or suggestions to resolve this
issue. If anyone has encountered a similar problem or has insights into
what might be causing the MPI execution to abort, please let me know.
Thank you for your time and assistance.
Best regards,
S.A. Seyedalipour
PhD student of coastal engineering at IUST
Email: ali...@ya...
Gmail: sra...@gm...
|