求助 求助,康康我啦
-
我运行motorBike的并行就可以,但我自己用snappyHexMesh -parallel 命令时,为嘛就报错了,,有没有大神知道哪里错了,,我自己也装了mpich,系统也本身有openmpi,要不然案例motor也跑不起来,,奇了怪了啊
--> 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 "/home/zc/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 ? in "/home/zc/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh" [chun:296185] *** Process received signal *** [chun:296185] Signal: Aborted (6) [chun:296185] Signal code: (-6) [chun:296185] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7fcbfb4d3210] [chun:296185] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fcbfb4d318b] [chun:296185] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fcbfb4b2859] [chun:296185] [ 3] /home/zc/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x1fd)[0x7fcbfbd23bfd] [chun:296185] [ 4] /home/zc/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x219)[0x7fcbfb483de9] [chun:296185] [ 5] /home/zc/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x885)[0x7fcbfbd4e1d5] [chun:296185] [ 6] snappyHexMesh(+0x173db)[0x559effc5d3db] [chun:296185] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fcbfb4b40b3] [chun:296185] [ 8] snappyHexMesh(+0x1b43e)[0x559effc6143e] [chun:296185] *** End of error message *** Aborted (core dumped)