<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:14pt"><div>cgma</div><div><br></div><div>For cgma 13.1, I use OCC 6.6.0 and the compile process is OK, but the </div><div>make check process appear some tests failed. If I use OCE replace OCC, the compile process also is OK, but </div><div>make check process appear some compile errors.</div><div>Can I use OCE to replace OCC?Which OCE version is better?</div><div>$ autoreconf -fi</div><div>$ ./configure --prefix=/home/why/software/itaps  --enable-shared  --with-occ=/home/why/software/OCC/660/Linux</div><div>$ make</div><div>$ make check </div><div></div><div>$ make install</div><div><br></div><div style="font-size: 19px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(76, 118, 162);">As Rajeev said, we didn't test OCE on Linux. Your approach of
 using OCC6.6.0 on cgma13.1 build for Linux system should work if you apply the geom/OCC/occ_patches_6.6.0 on your OCC6.6.0 build.</span></div><div style="font-size: 19px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal; color: rgb(76, 118, 162);"><span style="color: rgb(76, 118, 162);"><br></span></div><div style="font-size: 19px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal; color: rgb(76, 118, 162);"><span style="color: rgb(76, 118, 162);">Good luck!</span></div><div></div><div> </div><div>Jane </div><div><br><br></div><div>Asst. Researcher<br>Dept. of Engineering Physics<br>UW @ Madison</div><br><div><br></div><div>"And we know that for those who love God, that is, for those who are called according to his purpose, all things are working together for good." (Romans 8:28)</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div
 style="font-family: verdana, helvetica, sans-serif; font-size: 14pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, March 20, 2014 9:11 AM, Rajeev Jain <jain@mcs.anl.gov> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv2821465989"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div><span>Hi Huayi,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
 sans-serif; background-color: transparent; font-style: normal;"><span>Yes, we have successfully built on Ubuntu 12.04LTS. </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>We use OCE for OSX and OCC for Linux, you may be able to use OCE for Linux, but we
 haven't tested this.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Regarding, the Zoltan error: try using /usr/lib in MOAB prefix, the directory should have libparmetis.a file.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I've CC'd moab-dev and cgm-dev, they may give more input.</span></div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
 Grande', sans-serif;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">My configure line for mesquite is:</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">







</div><div class="yiv2821465989p1">--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</div><div class="yiv2821465989p1"><br></div><div class="yiv2821465989p1" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Rajeev</div><div><br></div>  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
 Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "魏华祎(Wei, Huayi)" <huayiwei1984@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> "meshkit-dev@mcs.anl.gov" <meshkit-dev@mcs.anl.gov> <br> <b><span style="font-weight:bold;">Sent:</span></b> <br> <b><span style="font-weight:bold;">Subject:</span></b> [Meshkit-dev] How to build cgma+moab+lasso+meshkit+mesquite together succesfully on Ubuntu 12.04 LTS 64 Bit?<br> </font> </div> <div class="yiv2821465989y_msg_container"><br><div id="yiv2821465989">

 

<div>
<div style="" class="yiv2821465989markdown-here-wrapper" id="yiv2821465989markdown-here-wrapper-969649">
<h1 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.6em;" id="yiv2821465989hi-there-">
Hi, there,</h1>
<div style="margin:1.2em 0px;">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.</div>
<div style="margin:1.2em 0px;">My os is Ubuntu 12.04 LTS 64 bit. I first install most of the dependents from Ubuntu source:</div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install openmpi-bin libopenmpi-dev openmpi-common openmpi-checkpoint
$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install libparmetis-dev libparmetis3.<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">1</span> 
$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install libscotch-<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">5.1</span> libscotch-dev
$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install libptscotch-<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">5.1</span> libptscotch-dev 
$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install netcdf-bin python-netcdf libnetcdf6 libnetcdf-dev 
$ <span style="color:rgb(0, 134, 179);" class="yiv2821465989built_in">sudo</span> apt-get install h5utils hdf5-tools libhdf5-openmpi-<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">1.8</span>.<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">4</span> libhdf5-openmpi-dev
</code></pre>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989zoltan">
Zoltan</h2>
<div style="margin:1.2em 0px;">I can compile and install Zoltan 3.8 without any error:</div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ ../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
</code></pre>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989cgma">
cgma</h2>
<div style="margin:1.2em 0px;">For cgma 13.1, I use OCC 6.6.0 and the compile process is OK, but the
<code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); display: inline;">
make check</code> process appear some tests failed. If I use OCE replace OCC, the compile process also is OK, but
<code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); display: inline;">
make check</code> process appear some compile errors. </div>
<div style="margin:1.2em 0px;"><i>Can I use OCE to replace OCC?Which OCE version is better?</i></div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ autoreconf -fi
$ ./configure --prefix=/home/why/software/itaps  --enable-shared  --with-occ=/home/why/software/OCC/<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">660</span>/Linux
$ make
$ make check 
$ make install
</code></pre>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989moab">
moab</h2>
<div style="margin:1.2em 0px;">For moab 4.6, I configure it like this:</div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ 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=-<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">6.0</span>
</code></pre>
<div style="margin:1.2em 0px;">But it appear such an error, <b>is the version 3.8 of zoltan suitable?
</b></div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;">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]?
</code></pre>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989lasso">
lasso</h2>
<div style="margin:1.2em 0px;">For lasso, </div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ ./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
</code></pre>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989mesquite">
mesquite</h2>
<div style="margin:1.2em 0px;">For mesquite 2.3, I can compile it successfully like this:</div>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ autoreconf -fi
$ ./configure --prefix=/home/why/software/mesquite/<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">230</span>/ --with-mpi
$ make 
$ make install
</code></pre>
<div style="margin:1.2em 0px;"><i>Here do I need to add the ―with-igeom, ―with-imesh, ―irel, or ―imeshp option?</i></div>
<h2 style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom:1px solid rgb(204, 204,
        204);" id="yiv2821465989meshkit">
MeshKit</h2>
<pre style="font-family: Consolas, Inconsolata, Courier, monospace; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; margin: 0px 0.15em; white-space: pre; overflow: auto; border: 1px solid rgb(204, 204, 204); display: block; padding: 0.5em; color: rgb(51, 51, 51); background-image: none; background-attachment: scroll; background-color: rgb(248, 248, 255); background-position: 0% 0%; background-repeat: repeat repeat;" class="yiv2821465989language-bash">$ ./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.<span style="color:rgb(0, 
 
 153, 153);" class="yiv2821465989number">5.0</span> --with-triangle=/home/why/software/triangle  --with-netgen=/usr  --with-mesquite=/home/why/software/mesquite/<span style="color:rgb(0, 153, 153);" class="yiv2821465989number">230</span>
</code></pre>
<div style="margin:1.2em 0px;">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.</div>
<div style="margin:1.2em 0px;">Best </div>
<div style="margin:1.2em 0px;">Huayi</div>
</div>
</div>
</div><br><br></div> </div> </div>  </div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>