[MOAB-dev] [Meshkit-dev] How to build cgma+moab+lasso+meshkit+mesquite together succesfully on Ubuntu 12.04 LTS 64 Bit?

Rajeev Jain jain at mcs.anl.gov
Thu Mar 20 09:11:22 CDT 2014


Hi Huayi,

Yes, we have successfully built on Ubuntu 12.04LTS. 
We use OCE for OSX and OCC for Linux, you may be able to use OCE for Linux, but we haven't tested this.
Regarding, the Zoltan error: try using /usr/lib in MOAB prefix, the directory should have libparmetis.a file.

I've CC'd moab-dev and cgm-dev, they may give more input.

My configure line for mesquite is:
--with-imesh=/Users/rajeevjain/pll/install/moab/ --with-igeom=/Users/rajeevjain/pll/install/cgmtrunk/ --with-irel=/Users/rajeevjain/pll/install/lasso/ IMESH_DEFS=/Users/rajeevjain/pll/install/moab/lib/iMesh-Defs.inc IGEOM_DEFS=/Users/rajeevjain/pll/install/CGM-2k14/lib/iGeom-Defs.inc IREL_DEFS=/Users/rajeevjain/pll/install/lasso/lib/iRel-Defs.inc --prefix=/Users/rajeevjain/pll/install/mesquite-2.99 --with-mpi --enable-debug

Rajeev


________________________________
 From: "魏华祎(Wei, Huayi)" <huayiwei1984 at gmail.com>
To: "meshkit-dev at mcs.anl.gov" <meshkit-dev at mcs.anl.gov> 
Sent: 
Subject: [Meshkit-dev] How to build cgma+moab+lasso+meshkit+mesquite together succesfully on Ubuntu 12.04 LTS 64 Bit?
 


Hi, there,
I want to implement some mesh generation and optimization algorithms based on MeshKit. But I find it very hard to build cgma+moab+lasso+meshkit+mesquite together successfully.
My os is Ubuntu 12.04 LTS 64 bit. I first install most of the dependents from Ubuntu source:
$ sudo apt-get install openmpi-bin libopenmpi-dev openmpi-common openmpi-checkpoint
$ sudo apt-get install libparmetis-dev libparmetis3.1 $ sudo apt-get install libscotch-5.1 libscotch-dev
$ sudo apt-get install libptscotch-5.1 libptscotch-dev 
$ sudo apt-get install netcdf-bin python-netcdf libnetcdf6 libnetcdf-dev 
$ sudo apt-get install h5utils hdf5-tools libhdf5-openmpi-1.8.4 libhdf5-openmpi-dev 
Zoltan
I can compile and install Zoltan 3.8 without any error:
$ ../configure --prefix=/home/why/software/zoltan --enable-mpi --with-mpi=/usr/lib/openmpi --with-libs=-lsuperlu --with-parmetis --with-parmetis-incdir=/usr/include/parmetis --with-parmetis-libdir=/usr/lib --with-scotch --with-scotch-libdir=/usr/lib --with-scotch-incdir=/usr/include/sc otch
$ make install 
cgma
For cgma 13.1, I use OCC 6.6.0 and the compile process is OK, but the make check process appear some tests failed. If I use OCE replace OCC, the compile process also is OK, but make check process appear some compile errors. 
Can I use OCE to replace OCC?Which OCE version is better?
$ autoreconf -fi
$ ./configure --prefix=/home/why/software/itaps  --enable-shared  --with-occ=/home/why/software/OCC/660/Linux
$ make
$ make check 
$ make install 
moab
For moab 4.6, I configure it like this:
$ autoreconf -fi
$ ./configure --prefix=/home/why/software/itaps \
--enable-docs  \
--with-mpi \
--with-netcdf \
--with-hdf5 \
--with-zoltan=/home/why/software/zoltan \
--with-parmetis=/usr \
--with-vtk=/home/why/software/vtk \
--with-vtk-lib-suffix=-6.0 
But it appear such an error, is the version 3.8 of zoltan suitable? 
checking for zoltan_cpp.h... yes
checking for Zoltan_LB_Partition in -lzoltan... no
checking for Zoltan_LB_Partition in -lzoltan... no
configure: error: zoltan library not found or not usable.  Perhaps you need to specify --with-parmetis=[DIR]? 
lasso
For lasso, 
$ ./configure --prefix=/home/why/software/itaps --with-mpi  --with-igeom=/home/why/software/itaps --with-imesh=/home/why/software/itaps 
$ make 
$ make check
$ make install 
mesquite
For mesquite 2.3, I can compile it successfully like this:
$ autoreconf -fi
$ ./configure --prefix=/home/why/software/mesquite/230/ --with-mpi
$ make 
$ make install 
Here do I need to add the ―with-igeom, ―with-imesh, ―irel, or ―imeshp option?
MeshKit
$ ./configure --prefix=/home/why/software/itaps --with-mpi --with-igeom=/home/why/software/itaps --with-imesh=/home/why/software/itaps--with-irel=/home/why/software/itaps --with-fbigeom=/home/why/software/itaps --with-tetgen=/home/why/software/tetgen/tetgen1.5.0 --with-triangle=/home/why/software/triangle  --with-netgen=/usr  --with-mesquite=/home/why/software/mesquite/230 
Does anyone have installed MeshKit on Ubuntu 12.04 LTS? Please give me some suggestion and help me to install MeshKit correctly, thanks very much.
Best 
Huayi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140320/e2009815/attachment-0001.html>


More information about the moab-dev mailing list