初めて投稿させて頂きます。
企業でOpenFOAMを利用している者です。
setFieldsの並列計算についてご教授頂きたく投稿致しました。
何卒よろしくお願い申し上げます。
############## Allrun ################
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication setFields -parallel
runApplication decomposePar -constant
runParallel $(getApplication)
runApplication reconstructPar -latestTime
##############エラー内容##############
--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor
From function static bool Foam::UPstream::init(int&, char**&, bool)
in file UPstream.C at line 112.
FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::UPstream::init(int&, char**&, bool) at ??:?
#3 Foam::argList::argList(int&, char**&, bool, bool, bool) at ??:?
#4 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/setFields"
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/setFields"
[DESKTOP-5CM12VV:04131] *** Process received signal ***
[DESKTOP-5CM12VV:04131] Signal: Aborted (6)
[DESKTOP-5CM12VV:04131] Signal code: (-6)
[DESKTOP-5CM12VV:04131] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7f96a2af7fd0]
[DESKTOP-5CM12VV:04131] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f96a2af7f47]
[DESKTOP-5CM12VV:04131] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f96a2af98b1]
[DESKTOP-5CM12VV:04131] [ 3] /opt/openfoam7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x126)[0x7f96a3ceab26]
[DESKTOP-5CM12VV:04131] [ 4] /opt/openfoam7/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x3fc)[0x7f96a28aee8c]
[DESKTOP-5CM12VV:04131] [ 5] /opt/openfoam7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8ef)[0x7f96a3d133ff]
[DESKTOP-5CM12VV:04131] [ 6] setFields(+0x1be3c)[0x5619e3e60e3c]
[DESKTOP-5CM12VV:04131] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f96a2adab97]
[DESKTOP-5CM12VV:04131] [ 8] setFields(+0x1d21a)[0x5619e3e6221a]
[DESKTOP-5CM12VV:04131] *** End of error message ***
Aborted