alirezayazdani1 / HFM

GNU General Public License v3.0
15 stars 5 forks source link

Error in Step 4:Compile each of Nektar dependency library and create the *.a static libraries #2

Open PengXiao9912 opened 3 years ago

PengXiao9912 commented 3 years ago

Hi.

My name is Peng Xiao,I am a graduate student from a university in China.I‘m studying the problem of artificial intelligence solving NS equation,so I found this very nice paper called HFM, where the author kindly supply the framework and codes to reproduce their results.

First off all,Sincerely thank the author for putting the code on GitHub for our learning and reference.

Perhaps because I am not proficient in Linux, I spent a long time building the environment on Ubuntu 18.04 LTS x64mechine.

When I went through Step 4 of the installation guide, I encountered the following problems:

cd gs && make mopt

make[1]: Entering directory '/home/pengx/Public/AI/HFM/SourceCode/gs'

make LTYPE=mopt libgs.a

make[2]: Entering directory '/home/pengx/Public/AI/HFM/SourceCode/gs'

/usr/lib64/openmpi/bin/mpicc -O3  -ffast-math -funroll-loops -fstrict-aliasing   -I/usr/lib64/openmpi/include  -Dr8  -DMPISRC  -DSAFE -I./include  -c -o bit_mask.o src/bit_mask.c

make[2]: /usr/lib64/openmpi/bin/mpicc: Command not found

<builtin>: recipe for target 'bit_mask.o' failed

make[2]: *** [bit_mask.o] Error 127

make[2]: Leaving directory '/home/pengx/Public/AI/HFM/SourceCode/gs'

Makefile:117: recipe for target 'mopt' failed

make[1]: *** [mopt] Error 2

make[1]: Leaving directory '/home/pengx/Public/AI/HFM/SourceCode/gs'

Makefile:4: recipe for target 'default' failed

make: *** [default] Error 2

I could not resolve this issue, probably because of my lack of knowledge in Linux. I would appreciate any tips to get around this problem,so i could continue to study in this direction Thanks in advance.

Best regards, Peng Xiao.