mpic++: Command not found

54 views
Skip to first unread message

rchi...@gmail.com

unread,
Mar 23, 2019, 12:05:25 AM3/23/19
to SMufin
Hello, I'm trying to install SMuFin but I received an error and I am not sure how to proceed. These were the commands that I used to install it:

wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.0.tar.gz
tar -zxvf openmpi-4.0.0.tar.gz
cd openmpi-4.0.0
./configure
cd ..
wget http://cg.bsc.es/smufin/download.php#
tar -zxvf smufin_0.9.4_mpi_beta.tar.gz
cd smufin
make

Error Message:

mpic++ -O2 -o SMuFin main.cpp ids.a bwa.a samtools.a smufin_bp.a -lz -lmpi -lgomp
make: mpic++: Command not found
make: *** [SMuFin] Error 127

Thank you and I look forward to hearing back from you.

SMuFin

unread,
Mar 25, 2019, 4:54:48 AM3/25/19
to SMufin
Hello,
It seems your environment is not properly exported. A fast way to fix it is adding the complete path to mpicc+

So you should do:
>which mpic++
/my/path/to/compiler/mpic++

and then you replace this path instead of mpic++ in the Makefile.conf

Reply all
Reply to author
Forward
0 new messages