getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Error in MUMPS configuration - GetFEM version 4.2


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 GetFEM 4.2 using the following:

./configure --prefix=/work/02077/mhaddad/XFEM/ --enable-shared --with-pic --enable-muparser=yes --with-muparser-include-dir=/work/02077/mhaddad/XFEM/include/ --with-mumps="-L/work/02077/mhaddad/XFEM/MUMPS_4.10.0/lib/ -lsmumps -ldmumps -lcmumps -lzmumps -lmumps_common" --with-mumps-include-dir=/work/02077/mhaddad/XFEM/MUMPS_4.10.0/include/ --enable-par-mumps QHULL_LIBS="-L/work/02077/mhaddad/XFEM/qhull-2010.1/src -lqhull" --enable-metis="-L/opt/apps/intel11_1/mvapich2_1_6/pmetis/3.1.1/" --enable-boost --includedir=/work/02077/mhaddad/XFEM/qhull-2010.1/src --enable-paralevel=2 --with-blas="-L/opt/apps/gcc4_4/atlas/3.9.32/lib/ -latlas -lcblas" --enable-scilab CC=mpicc CXX=mpicxx FC=mpif90 CFLAGS="-mkl" CXXFLAGS="-mkl" FCFLAGS="-mkl" LDFLAGS="-mkl -lm -limf"

I have this error:

checking for library containing smumps_c... no
configure: error: The function smumps_c couldn't be found in the provided MUMPS libraries.

I executed this to check if there is smumps_c in MUMPS libraries or not:

nm /work/02077/mhaddad/XFEM/MUMPS_4.10.0/lib/libsmumps.a | grep -e "\<smumps_c\>"

I got this result:

smumps_c.o:
0000000000000000 T smumps_c

I have attached my config.log.

I was wondering why I have smumps_c error while there is smumps_c.o in smumps_c library?

Actually, after installing MUMPS, I executed the following commands to check MUMPS and all of them, resulted in 1 2 3 4 5 which shows MUMPS works well.

    "./ssimpletest < input_simpletest_real"
    "./dsimpletest < input_simpletest_real"
    "./csimpletest < input_simpletest_cmplx"
    "./zsimpletest < input_simpletest_cmplx"
  
I used mkl as the blas library in MUMPS and getfem 4.2. I'm wondering if the error originates from this or not?

Best regards,
Mahdi


On Fri, Feb 15, 2013 at 4:29 PM, Mahdi Haddad <address@hidden> wrote:
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... no
configure: 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,
Mahdi

 


On Fri, Feb 15, 2013 at 3:50 PM, Roman Putanowicz <address@hidden> wrote:
> Dear Roman,
>
> 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.

The option -L requires specification of directory where library files
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 Assistant
Center for Petroleum and Geosystems Engineering (CPGE)
Cockrell School of Engineering
The University of Texas at Austin
Emailto: address@hidden
******************************************



--
******************************************
Mahdi Haddad (PhD student)
Graduate Research Assistant
Center for Petroleum and Geosystems Engineering (CPGE)
Cockrell School of Engineering
The University of Texas at Austin
Emailto: address@hidden
******************************************

Attachment: config.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]