[petsc-users] Building PETSc with Intel mpi
Qin Lu
lu_qin_2000 at yahoo.com
Fri Mar 21 21:32:53 CDT 2014
Sourcing the .csh files of the compiler fixed the problem. Thanks! However, later it got another error (see the attached configure.log for details):
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Fortran error! mpi_init() could not be located!
*******************************************************************************
It seems the configure did not link the Intel MPI libs. I used --with-mpi-dir to specify the MPI directory, can configure get the correct Intel MPI lib names? If I have to specify the lib names (using --with-mpi-lib?), which libs should I specify? I saw a lot of libs under the directory, such as libmpi.a, libmpi_ipl64.a, libmpi_mt.a, etc.
Thanks a lot,
Qin
________________________________
From: Barry Smith <bsmith at mcs.anl.gov>
To: Qin Lu <lu_qin_2000 at yahoo.com>
Cc: petsc-users <petsc-users at mcs.anl.gov>
Sent: Friday, March 21, 2014 10:11 AM
Subject: Re: [petsc-users] Building PETSc with Intel mpi
Did you follow the directions here: http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf
Did it make any difference?
On Mar 21, 2014, at 9:45 AM, Qin Lu <lu_qin_2000 at yahoo.com> wrote:
> Hello,
>
> I was trying to build PETSc-3.4.2 with Intel MPI using Intel-2013 compilers in Linux, but got the error below. The configure.log is attached.
>
> *******************************************************************************
> UNABLE to EXECUTE BINARIES for ./configure
> -------------------------------------------------------------------------------
> Cannot run executables created with FC. If this machine uses a batch system
> to submit jobs you will need to configure using ./configure with the additional option --with-batch.
> Otherwise there is problem with the compilers. Can you compile and run code with your C/C++ (and maybe Fortran) compilers?
> See http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf
> *******************************************************************************
>
> Thanks a lot for any suggestions abut the problem,
>
> Regards,
> Qin
>
> <configure.log>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140321/46685a1c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 4157069 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140321/46685a1c/attachment-0001.obj>
More information about the petsc-users
mailing list