Install error: Error during compile stage of scotch.

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Jiawei
Posts: 10
Joined: Sat Jun 03, 2017 2:07 pm

Install error: Error during compile stage of scotch.

Post by Jiawei »

Hello everyone,

I am trying to install code_saturne-4.2.3 by using installer. But there is a error when the installation process comes to scotch.

Originally, the error shown in install_saturne.log is "can not find mpi.h", so I copy the mpi.h from file mpi into file /usr/include/

Then the error is "can not find mpio.h", i solve it in the previous way.

Now the error is "collect2: error: ld returned 1 exit status", the install_saturne.log is attached.

Can anyone give same advice on that?

Best regars
Jiawei
Attachments
install_saturne.log
(346.91 KiB) Downloaded 306 times
Jiawei
Posts: 10
Joined: Sat Jun 03, 2017 2:07 pm

Re: Install error: Error during compile stage of scotch.

Post by Jiawei »

I use installer to install code_saturne_4.0.7 and the routines associated.

But I met problems for installation of scotch, parmetis, even for code_saturne. The setup and install_saturne.log for scotch, parmetis, and code_saturne installation are attached,

Could anyone give me some advice?

Thanks a lot

Jiawei
Attachments
install_saturne and setup.tar.gz
(2.8 KiB) Downloaded 290 times
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Install error: Error during compile stage of scotch.

Post by Yvan Fournier »

Hello,

See my post in your previous thread.

Also, one of the logs indicates your mpicc is broken. This confirms this, so you need to remove the mpi.h you added, and reinstall MPI correctly.

Regards,

Yvan
Post Reply