[petsc-users] configuration question

Michael Povolotskyi mpovolot at purdue.edu
Tue Jul 9 12:53:58 CDT 2013


Thank you,
this worked.
I have another question:
what does this option mean: --with-fortran-kernels?
Michael.


On 07/09/2013 01:35 PM, Matthew Knepley wrote:
> On Tue, Jul 9, 2013 at 12:30 PM, Michael Povolotskyi 
> <mpovolot at purdue.edu <mailto:mpovolot at purdue.edu>> wrote:
>
>     Dear Petsc developers and users,
>     I have a problem with petsc configuration:
>
>     I want to execute the following
>
>     ./config/configure.py --with-x=0 --with-hdf5 --download-hdf5=1
>     --with-scalar-type=complex --with-single-library=0 --with-pic=1
>     --with-shared-libraries=0 --with-clanguage=C++ --with-fortran
>     --with-debugging=1
>     --with-cc="/opt/intel/impi/4.1.0/intel64/bin/mpicc"
>     --with-fc="/opt/intel/impi/4.1.0/intel64/bin/mpif90"
>     --with-cxx="/opt/intel/impi/4.1.0/intel64/bin/mpicxx "
>     COPTFLAGS="-O3" CXXOPTFLAGS="-O3" FOPTFLAGS="-O3"
>     --LDFLAGS=-Wl,-rpath,/opt/intel/mkl//lib/intel64
>     -L/opt/intel/mkl//lib/intel64 -Wl,--start-group -lmkl_intel_lp64
>     -lmkl_sequential -lmkl_core -Wl,--end-group  --download-metis=1
>     --download-parmetis=1  --download-mumps=1 --download-scalapack=1
>     --with-blas-lapack-dir=/opt/intel/mkl/ --download-blacs=1;
>
>
> You need "" around your LDFLAGS argument
>
>   Matt
>
>     I get the following error:
>     ===============================================================================
>                  Configuring PETSc to compile on your system
>     ===============================================================================
>     *******************************************************************************
>                     ERROR in COMMAND LINE ARGUMENT to ./configure
>     -------------------------------------------------------------------------------
>     The option -lmkl_intel_lp64 should probably be -lmkl-intel-lp64
>     *******************************************************************************
>
>
>     What is the meaning of that message?
>     I checked in my file system and the file names contain "_" instead
>     of "-"
>
>     ls /opt/intel/mkl//lib/intel64/libmkl_intel_lp64.*
>     /opt/intel/mkl//lib/intel64/libmkl_intel_lp64.a
>     /opt/intel/mkl//lib/intel64/libmkl_intel_lp64.so
>
>     Thank you,
>     Michael.
>
>     -- 
>     Michael Povolotskyi, PhD
>     Research Assistant Professor
>     Network for Computational Nanotechnology
>     207 S Martin Jischke Drive
>     Purdue University, DLR, room 441-10
>     West Lafayette, Indiana 47907
>
>     phone: +1-765-494-9396 <tel:%2B1-765-494-9396>
>     fax: +1-765-496-6026 <tel:%2B1-765-496-6026>
>
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130709/f2653425/attachment.html>


More information about the petsc-users mailing list