CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   Problems Parallel install manjaro linux (https://www.cfd-online.com/Forums/su2-installation/138494-problems-parallel-install-manjaro-linux.html)

leo_NM July 4, 2014 20:45

Problems Parallel install manjaro linux
 
1 Attachment(s)
hey guys

I'm trying to install SU2 in my manjaro (Arch based) linux.

I ran the line
parallel_computation.py -f inv_NACA0012.cfg -n 2

and the error in the image appeared

for configuring I used:

sudo ./configure --prefix=/home/leonardo/SU2_p --with-MPI=/usr/bin CXXFLAGS="-O3" --with-CGNS-lib=/usr/local/lib/ --with-CGNS-include=/usr/local/include/

The serial run is working but the parallel is not

P.S
I exported the variables.

Any tips ?

thanks !


SergeAS July 6, 2014 14:18

Quote:

Originally Posted by leo_NM (Post 500156)
hey guys

I'm trying to install SU2 in my manjaro (Arch based) linux.

I ran the line
parallel_computation.py -f inv_NACA0012.cfg -n 2

and the error in the image appeared

for configuring I used:

sudo ./configure --prefix=/home/leonardo/SU2_p --with-MPI=/usr/bin CXXFLAGS="-O3" --with-CGNS-lib=/usr/local/lib/ --with-CGNS-include=/usr/local/include/

The serial run is working but the parallel is not

P.S
I exported the variables.

Any tips ?

thanks !


According configure --help selected parameter
Code:

--with-MPI=ARG  Build parallel version with MPI tools, ARG = MPI C++ compiler
like mpicxx (or [full path]/mpicxx)

Hint: Do not forget make clean before rebuild package with new tunings and make install after rebuild

leo_NM July 6, 2014 16:51

1 Attachment(s)
Thanks for your answer

I ran sudo ./configure --prefix=/home/leonardo/SU/SU --with-CGNS-lib=/home/leonardo/SU/cgnslib_3.2.1/src/lib --with-CGNS-include=/home/leonardo/SU/cgnslib_3.2.1/src --with-MPI=/usr/bin/mpicxx CXXFLAGS="-O3"

but I'm getting the same error

What I'm doing is:

I downloaded the openmpi 1.8.1 package
I unziped it
./configure inside the directory
after that I went to root and searched for mpicxx. There's one mpicxx and one mpicxx-vt.
the directory for this two files are /usr/bin/

After the ./configure, I edited the bashrc file, pasting the exported variables at the file and saving.

after that,
sudo make
sudo make install
sudo clean

I tried to run the "parallel_computation.py -f inv_NACA0012.cfg -n 2"
and ...

the same error.

Am I missing something ?

P.S I think I have some kind of bug in my system cause when I run the config_gui.py, the gui appears incomplete.

leo_NM July 8, 2014 23:06

Sometimes we can't run without a healthy horse. I formatted my system and changed distro. I tried to install SU2 in linux mint debian edition and it worked as butter.Manjaro wasn't stable in my machine I don't Know why.... the line I ran was:

./configure --prefix=/home/leonardo/opt/ss --with-MPI=/usr/local/bin/mpicxx CXXFLAGS="-O3" --with-CGNS-lib=/home/leonardo/opt/cgnslib_3.1.4/src/lib --with-CGNS-include=/home/leonardo/opt/cgnslib_3.1.4/src --with-Metis-lib=/home/leonardo/opt/metis-5.1.0/build/Linux-x86_64/libmetis --with-Metis-include=/home/leonardo/opt/metis-5.1.0/include

The only bug is the config_gui.py bug...

thank you for the help


All times are GMT -4. The time now is 17:00.