Building libmesh with Petsc support

转载 2016年08月30日 15:37:53

Building libmesh with Petsc support

(2013-04-15 08:39:22)
Finally libmesh was successfully built with Petsc support (no CUDAyet)
Operating system: Ubuntu 13.04
1. Installation of Petsc
  The current libmesh successfully suport petsc-3.3-p2.
   So petsc-3.3-p2 without CUDAsupport was installed and compiled as follows
1.1 cd ~/
    tar xzfpetsc-3.3-p2.tar.gz
    In~/.bashrc, add two lines:
1.2 configure it by
    ./configure--with-shared-libraries=1--with-dynamic-loading=1  --with-x=1--with-blas-lapack-dir=/usr/lib/lapack --with-valgrind=1--download-openmpi --with-cc=gcc --with-fc=gfortran--download-hypre=externalpackages/hypre-2.8.0b.tar.gz
    Note here noCUDA spported added
1.3 make PETSC_DIR=/home/zhenyu/petsc-3.3-p2PETSC_ARCH=arch-linux2-c-opt all test

2. Installation of libmesh
2.1 Get libmesh package
    git clonegit://
2.2 configure it by
./configure --enable-mpi --enable-fortran --enable-exceptions--enable-amr --enable-vsmoother --enable-periodic--enable-dirichlet --enable-nodeconstraint --enable-parmesh--enable-ghosted --enable-pfem --enable-ifem  --enable-examples --enable-petsc  --enable-trilinos --enable-slepc --enable-boost --enable-laspack--enable-bzip2 --enable-tecio --enable-tecplot --enable-parmetis--enable-tetgen --enable-triangle --enable-vtk --enable-eigen--enable-glpk --enable-netcdf --enable-exodus --enable-nemesis--enable-fparser --with-cxx=g++ --with-fc=gfortran --with-cc=gccMPI_INCLUDES_PATH=${PETSC_DIR}/${PETSC_ARCH}/includeMPI_LIBS_PATH=${PETSC_DIR}/${PETSC_ARCH}/lib

2.3 make -j 8
# default path to /usr/local/lib and/usr/local/include/libmesh


Building image with support for 3g/4g module and usb tethering Building image with support ...

Windows Store apps开发[18]Metro Revealed Building Windows 8 apps with XAML and C#中文翻译全部汇总

注:本系列学习帖子我在DevDiv.com移动开发社区原创首发         转载请注明出处:BeyondVincent(破船) 如果你有什么问题也可以前往交流 下面是首...

用Python和OpenCV创建一个图片搜索引擎的完整指南 The complete guide to building an image search engine with Python and

Let’s face it. Trying to search for images based on text and tags sucks. Whether you are tagging ...

Building with Gulp

Building With Gulp===================翻译出处对网站资源进行优化,并使用不同浏览器测试并不是网站设计过程中最有意思的部分,但是这个过程中的很多重复的任务能够使用正确...

WinCE Application: Building UI components with dynamic visual effect

1 purpose     Building up components, more specific UI class which have professional dynamic vis...

Building a battery powered WiFi IoT Sensor with ESP8266, MS-5611 (GY-63), nodemcu and MQTT

zk--Building Distributed Systems with ZooKeeper(58)

//(zk)分布式系统的并发来源Processes in a distributed system have two broad options for communication: they can...

Android Studio(六)Building Your Project with Gradle

而Android工作室打造系统是用于构建,测试,运行和打包的应用程序的工具包。构建系统是独立于Android的工作室,这样你就可以从Android Studio或在命令行调用它。当你写你的应用程序时,...

Building with Tycho – part 1 (OSGi bundles) Maven is as many of u...

Android官方Training阅读笔记 ---- Building a Dynamic UI with Fragments(Creating a Fragment) (一)

To create a dynamic and multi-pane user interface on Android, you need to encapsulate UI components ...
您举报文章:Building libmesh with Petsc support