[petsc-users] Need to create $PREFIX/include explicitly

Vijay S. Mahadevan vijay.m at gmail.com
Wed Jan 28 22:30:45 CST 2015


> BTW: I also updated some routines in moab.cxx for changes in how we handle setfromoptions in master

Thanks Barry, I'll take a look at it. Will be spending time next
couple of weeks on DMMoab to add some geometric multigrid hooks and
more examples.

Vijay

On Wed, Jan 28, 2015 at 9:29 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   Fixed in master and next. Thanks for reporting it.
>
>    Barry
>
> BTW: I also updated some routines in moab.cxx for changes in how we handle setfromoptions in master
>
>> On Jan 28, 2015, at 7:39 PM, Vijay S. Mahadevan <vijay.m at gmail.com> wrote:
>>
>> With the current master, when using a prefix, configuration fails with
>> the following error message. I've not attached configure.log since its
>> around 7MB (but definitely can send that if that helps further
>> deciphering the issue). The problem here seems to be that
>> $PREFIX/include is not created (while $PREFIX/lib is created
>> explicitly with mkdir -p). If I manually create $PREFIX/include and
>> rerun configure, everything proceeds fine. Minor annoyance.
>>
>> I am not sure whether I just pulled in between merges though. My
>> latest hash: c04667f413dc6e46059f28faddb2b19f70ad4cfd.
>>
>> Command:
>> ./configure --CFLAGS="-O2 -mtune=generic"
>> --CPPFLAGS=-I/usr/software/metis-5.1.0/include --CXXFLAGS="-O2
>> -mtune=generic" --FFLAGS="-O2 -mtune=generic"
>> --LDFLAGS="-L/usr/software/moab/dev/optimized/lib
>> -L/usr/software/pnetcdf-1.3.1/lib -L/usr/software/zoltan-3.6/lib
>> -L/usr/software/ptscotch-6.0/lib -L/usr/software/parmetis-4.0.3/lib
>> -L/usr/software/metis-5.1.0/lib" --LIBS="-lpnetcdf -lparmetis -lmetis
>> -lm" --download-hypre=yes --download-mumps=yes
>> --download-scalapack=yes --download-suitesparse=yes
>> --prefix=/usr/software/petsc/dev/ubuntu_standalone_opt
>> --with-blas-lapack-dir=/usr
>> --with-boost-dir=/usr/software/boost/current --with-clanguage=C++
>> --with-cmake=/usr/software/cmake/bin/cmake --with-cuda=0
>> --with-debugging=0 --with-fortran-interfaces=1
>> --with-fortran-kernels=1 --with-fortran=1
>> --with-hdf5-dir=/usr/software/hdf5-1.8.11
>> --with-metis-dir=/usr/software/metis-5.1.0
>> --with-moab-include=/usr/software/moab/dev/optimized/include
>> --with-moab-lib="-lMOAB -liMesh -lmbcoupler -lzoltan -lptscotch
>> -lptscotcherr -lptscotcherrexit -lscotch -lscotcherr -lscotcherrexit
>> -lz -lm " --with-mpi-dir=/usr/software/mpich-3.0.4
>> --with-netcdf-dir=/usr/software/netcdf-4.3.0 --with-openmp=0
>> --with-parmetis-dir=/usr/software/parmetis-4.0.3 --with-pic=1
>> --with-ptscotch-include=/usr/software/ptscotch-6.0/include
>> --with-ptscotch-lib="-lptesmumps -lptscotch -lptscotcherr
>> -lptscotcherrexit -lscotch -lscotcherr -lscotcherrexit -lz -lm"
>> --with-shared-libraries=1 PETSC_ARCH=ubuntu_standalone_opt
>>
>> Error:
>> *******************************************************************************
>>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
>> for details):
>> -------------------------------------------------------------------------------
>> Error running make on MUMPS: Could not execute "mkdir -p
>> /usr/software/petsc/dev/ubuntu_standalone_opt/lib && cd
>> /home/vijaysm/code/petsc/ubuntu_standalone_opt/externalpackages/MUMPS
>> && cp -f lib/*.* /usr/software/petsc/dev/ubuntu_standalone_opt/lib/.
>> && cp -f include/*.*
>> /usr/software/petsc/dev/ubuntu_standalone_opt/include/.":
>> cp: target '/usr/software/petsc/dev/ubuntu_standalone_opt/include/.'
>> is not a directory
>> *******************************************************************************
>>
>> Vijay
>


More information about the petsc-users mailing list