No of course I have used the same MPI installations both for PETSc and 
deal.II. Since I used mpicc it uses the MPICH wrapper or the OPENMPI 
wrapper. Unfortunately, the mpicc always works with the GNU compiler gcc 
and I haven't succeeded using the Intel compiler for them.

Thank you for point 1/. I will check it out right now.

Regarding 2/: I already tried a build using --with-fc=0 which shuts off 
Fortran, but then the nightmare continues:


===============================================================================
             Configuring PETSc to compile on your system                   
    
===============================================================================
TESTING: checkCxxLibraries from 
config.compilers(config/BuildSystem/config/compilers.py:426)               
                                                                            
                      
*******************************************************************************
                    UNABLE to EXECUTE BINARIES for ./configure 
-------------------------------------------------------------------------------
Cannot run executables created with C. 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 compiler 
'/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpiicc'?
See http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf
*******************************************************************************

Now he complains about mpiicc...

Today I figured out how to compile by specifying exactly the lib and 
include folders of Intel's MPI and it suceeded, but it still uses the mpicc 
wrapper as compiler which is based on gcc and not on Intel's mpiicc.
The problem is I see no error message in step-40 at cycle 6, I just assume 
PETSc is not configured correctly. I even tried it outside of Eclipse. Same 
error.
But deal.II works fine and compiles like a charm. Only MPI has some 
issues...

Kind regards,
S. A. Mohseni

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to