From: Zack V. <jan...@gm...> - 2017-11-25 17:44:56
|
Hello again, Sorry to be somewhat needy, but I am using Ubuntu, and configuring with Petsc. I specified PETSC_DIR and PETSC_ARCH, but after configuring, petsc, triangle, tetgen are not found? For completeness, here are the contents of my do_configure file. I (chmod +x)'ed this and run, from ~/src: sudo git clone (libmesh git location) cd libmesh sudo ./do_configure And the resulting summary is: ----------------------------------- SUMMARY ----------------------------------- Package version.................... : libmesh-1.3.0-pre C++ compiler type.................. : gcc5 C++ compiler....................... : mpicxx C compiler......................... : mpicc Fortran compiler................... : mpif90 Build Methods...................... : dbg devel opt CPPFLAGS...(dbg)................... : -DDEBUG -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC CXXFLAGS...(dbg)................... : -std=gnu++11 -O0 -felide-constructors -g -pedantic -W -Wall -Wextra -Wno-long-long -Wunused -Wpointer-arith -Wformat -Wparentheses -Woverloaded-virtual -Wno-variadic-macros -fopenmp -std=gnu++11 CFLAGS.....(dbg)................... : -g -Wimplicit -fopenmp CPPFLAGS...(devel)................. : CXXFLAGS...(devel)................. : -std=gnu++11 -O2 -felide-constructors -g -pedantic -W -Wall -Wextra -Wno-long-long -Wunused -Wpointer-arith -Wformat -Wparentheses -Wuninitialized -funroll-loops -fstrict-aliasing -Woverloaded-virtual -Wdisabled-optimization -Wno-variadic-macros -fopenmp -std=gnu++11 CFLAGS.....(devel)................. : -O2 -g -Wimplicit -funroll-loops -fstrict-aliasing -fopenmp CPPFLAGS...(opt)................... : -DNDEBUG CXXFLAGS...(opt)................... : -std=gnu++11 -O2 -felide-constructors -funroll-loops -fstrict-aliasing -Wdisabled-optimization -Wno-variadic-macros -fopenmp -std=gnu++11 CFLAGS.....(opt)................... : -O2 -funroll-loops -fstrict-aliasing -fopenmp Install dir........................ : /opt/libmesh-master Build user......................... : root Build host......................... : Harmony Build architecture................. : x86_64-unknown-linux-gnu Git revision....................... : cf5616c3908f9f221b25b469b30aad9d279511a7 Library Features: library warnings................. : yes library deprecated code support.. : yes adaptive mesh refinement......... : yes blocked matrix/vector storage.... : no complex variables................ : yes example suite.................... : yes ghosted vectors.................. : yes high-order shape functions....... : yes unique-id support................ : yes id size (boundaries)............. : 2 bytes id size (dofs)................... : 4 bytes id size (unique)................. : 8 bytes id size (processors)............. : 2 bytes id size (subdomains)............. : 2 bytes infinite elements................ : yes Dirichlet constraints............ : yes node constraints................. : yes parallel mesh.................... : yes performance logging.............. : yes periodic boundary conditions..... : yes reference counting............... : yes shape function 2nd derivatives... : yes stack trace files................ : yes track node valence............... : yes variational smoother............. : yes xdr binary I/O................... : yes Optional Packages: boost............................ : yes capnproto........................ : no cppunit.......................... : no curl............................. : no eigen............................ : yes exodus........................... : yes version....................... : v5.22 fparser.......................... : yes build from version............ : release glpk............................. : no gmv.............................. : yes gzstream......................... : yes hdf5............................. : no laspack.......................... : no libhilbert....................... : yes metis............................ : yes mpi.............................. : yes nanoflann........................ : yes nemesis.......................... : yes version....................... : v5.22 netcdf........................... : yes version....................... : 4 nlopt............................ : no parmetis......................... : yes petsc............................ : no qhull............................ : yes sfcurves......................... : no slepc............................ : no thread model..................... : pthread c++ rtti ........................ : yes tecio............................ : yes tecplot...(vendor binaries)...... : no tetgen........................... : no triangle......................... : no trilinos......................... : yes AztecOO....................... : NOX........................... : ML............................ : Tpetra........................ : DTK........................... : Ifpack........................ : Epetra........................ : EpetraExt..................... : vtk.............................. : yes version....................... : 6.2.0 libmesh_optional_INCLUDES........ : -I/usr/include/eigen3 -I/usr/include/vtk-6.2 -I/usr/include/mpi -I/usr/include libmesh_optional_LIBS............ : -lvtkIOCore-6.2 -lvtkCommonCore-6.2 -lvtkCommonDataModel-6.2 -lvtkFiltersCore-6.2 -lvtkIOXML-6.2 -lvtkImagingCore-6.2 -lvtkIOImage-6.2 -lvtkImagingMath-6.2 -lvtkIOParallelXML-6.2 -lvtkParallelMPI-6.2 -lvtkParallelCore-6.2 -lz -lmpi -L/usr/lib/vtk-6.2 -L/usr/lib ------------------------------------------------------------------------------- Configure complete, now type 'make' and then 'make install'. I actually don't recall installing trilinos, but installed triangle and tetgen with synaptic package manager. I specified the tetgen include and header, so expected these to be found, but they were not? I spoke with others who specified PETSC_DIR and PETSC_ARCH, and so used their process, but mine is not found? This is somewhat of a basic question, so if anyone could help I'd really appreciate it! |