<div class="gmail_quote">My configure : <br><br><b>./configure --with-blas-lapack-dir=/opt/acml-4-4-0-open64-64bit/open64_64 --with-cc=opencc --with-cxx=openCC -with-fc=openf95 --with-mpi=0</b><br><br><i>The output of configure : ===============================================================================<br>


             Configuring PETSc to compile on your system                       <br>===============================================================================<br>===============================================================================                                                                                                                           It appears you do not have valgrind installed on your system.                                                                                                                                       We HIGHLY recommend you install it from <a href="http://www.valgrind.org/" target="_blank">www.valgrind.org</a>                                                                                                                                            Or install valgrind-devel or equivalent using your package manager.                                                                                                                                 Then rerun ./configure                                                                                                                                                                        ===============================================================================                                                                                                                     TESTING: alternateConfigureLibrary from PETSc.packages.petsc4py(config/PETSc/packages/petsc4py.py:65)                                                                                               Compilers:<br>


  C Compiler:         opencc  -g <br>  Fortran Compiler:   openf95  -g  <br>Linkers:<br>  Static linker:   /usr/bin/ar cr<br>X11:<br>  Includes: <br>  Library:  -lX11<br>BLAS/LAPACK: -Wl,-rpath,/opt/acml-4-4-0-open64-64bit/open64_64/lib -L/opt/acml-4-4-0-open64-64bit/open64_64/lib -lacml<br>


pthread:<br>  Library:  -lpthread<br>PETSc:<br>  PETSC_ARCH: arch-linux2-c-debug<br>  PETSC_DIR: /usr/local/petsc-3.2-p3_opencc<br>  Clanguage: C<br>  Scalar type: real<br>  Precision: double<br>  shared libraries: disabled<br>


  dynamic loading: disabled<br>  Memory alignment: 16<br>xxx=========================================================================xxx<br> Configure stage complete. Now build PETSc libraries with (cmake build):<br>   make PETSC_DIR=/usr/local/petsc-3.2-p3_opencc PETSC_ARCH=arch-linux2-c-debug all<br>


 or (experimental with python):<br>   PETSC_DIR=/usr/local/petsc-3.2-p3_opencc PETSC_ARCH=arch-linux2-c-debug ./config/builder.py<br>xxx=========================================================================xxx</i><br clear="all">


<br>The next step : <br><br><b>make PETSC_DIR=/usr/local/petsc-3.2-p3_opencc PETSC_ARCH=arch-linux2-c-debug all</b><br><br>The problem  : <br><br><b>==========================================<br>Building PETSc using CMake with 5 build threads<br>


Using PETSC_DIR=/usr/local/petsc-3.2-p3_opencc and PETSC_ARCH=arch-linux2-c-debug<br>==========================================<br>Scanning dependencies of target petsc<br>[  1%] Building Fortran object CMakeFiles/petsc.dir/src/sys/mpiuni/f90-mod/mpiunimod.F.o<br>


openf95 WARNING: unknown flag: -Jinclude<br>Error copying Fortran module &quot;include/mpi&quot;.  Tried &quot;include/MPI.mod&quot; and &quot;include/mpi.mod&quot;.<br>make[5]: *** [CMakeFiles/petsc.dir/src/sys/mpiuni/f90-mod/mpiunimod.F.o.provides.build] Error 1<br>


make[4]: *** [CMakeFiles/petsc.dir/src/sys/mpiuni/f90-mod/mpiunimod.F.o.provides] Error 2<br>make[3]: *** [CMakeFiles/petsc.dir/all] Error 2<br>make[2]: *** [all] Error 2<br>********************************************************************<br>


  Error during compile, check arch-linux2-c-debug/conf/make.log<br>  Send it and arch-linux2-c-debug/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><br>********************************************************************<br>


make: [all] Error 1 (ignored)</b><br><font color="#888888"><font color="#888888"><br></font></font></div><br><br clear="all"><br>-- <br>Abraham Zamudio Ch.<br><br>