|
From: | Mahdi Haddad |
Subject: | Re: [Getfem-users] Error in MUMPS configuration - GetFEM version 4.2 |
Date: | Thu, 21 Feb 2013 17:32:24 -0600 |
Dear Roman,I configured this way:./configure --prefix=/work/02077/mhaddad/XFEM/ --enable-shared --with-pic --enable-boost --enable-muparser=yes --with-muparser-include-dir=/work/02077/mhaddad/XFEM/include/ --enable-par-mumps --with-mumps-include-dir=/work/02077/mhaddad/XFEM/MUMPS_4.10.0/include/ --with-mumps=/work/02077/mhaddad/XFEM/MUMPS_4.10.0/lib QHULL_LIBS="-L/work/02077/mhaddad/XFEM/qhull-2010.1/src -lqhull" --enable-metis=/opt/apps/intel11_1/mvapich2_1_6/pmetis/3.1.1/ --enable-scilab CC=mpicc CXX=mpicxx FC=mpif90 CFLAGS="-mkl" CXXFLAGS="-mkl" FCFLAGS="-mkl" --includedir=/work/02077/mhaddad/XFEM/qhull-2010.1/src --enable-paralevel=2 CPPFLAGS="-I /work/02077/mhaddad/XFEM/MUMPS_4.10.0/include" LDFLAGS="-L /work/02077/mhaddad/XFEM/MUMPS_4.10.0/lib"
However, I still have the same error as before:checking for library containing smumps_c... noconfigure: error: The function smumps_c couldn't be found in the provided MUMPS libraries.As you see, I have added -mkl as CFLAGS, CXXFLAGS, and FCFLAGS. Is there any problems with using mkl in GetFEM if we want to use parallel MUMPS?The new config.log file attached.Best regards,MahdiOn Fri, Feb 15, 2013 at 3:50 PM, Roman Putanowicz <address@hidden> wrote:
> Dear Roman,The option -L requires specification of directory where library files
>
> Thanks for your prompt response.
>
> I added LDFLAGS="-L /work/02077/mhaddad/XFEM/MUMPS_4.10.0/include" to the
> GetFEM configuration. However, I still have the same error.
are located (library files are binary files of compiled functions,
usually with the extension *.a for static libraries or *.so for
shared (on Windows it would be *.dxx)). You have errorneously given
the location of header files (which are c/c++ source files for
inclusion in your source code).
To be on safe side please try to set two variables:
CPPFLAGS="-I path_to_header_files_directory"
LDFLAGS="-L path_to_library_files_directory"
Let me know if this solves the problem.
Regards
Roman
--******************************************Mahdi Haddad (PhD student)
Graduate Research AssistantCenter for Petroleum and Geosystems Engineering (CPGE)Cockrell School of EngineeringThe University of Texas at AustinEmailto: address@hidden
******************************************
config.log
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |