On Thu, May 3, 2012 at 12:03 AM, Yusuke Sakamoto
<[email protected]> wrote:
> Hello,
>
> I am trying to compile libmesh on bevo2 cluster.
>
> I first compiled petsc with this configuration:
> ./configure --with-mpi-dir=/share/apps/intel_11/mvapich/1.2/
>
> I tested a couple of example petsc programs and they worked fine.
>
> Now, I am trying to compile libmesh with the same compilers. However,
> when I tried to configure, C++ compiler seems not working.
> Here is the output for ./configure
>
> ---------------------------------------------
> ----------- Configuring libMesh -------------
> ---------------------------------------------
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for mpicxx... mpicxx
> checking whether the C++ compiler works... no
> configure: error: in `/bevo2/ysakamoto/src_3/libmesh-0.7.2/libmesh':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
>
> I am not sure why this is failing. Can you help me with this issue?

Probably a bad mpicxx is in your PATH.

Try configuring again with the command (I'm guessing here)

CXX=/share/apps/intel_11/mvapich/1.2/bin/mpicxx \
CC=/share/apps/intel_11/mvapich/1.2/bin/mpicc \
./configure

and see if you can get any further...

-- 
John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to