[MOAB-dev] some errors I met I build moab

Jiangtao Hu jiangtao_ma at yahoo.com
Tue Sep 17 12:23:23 CDT 2013


And mbsize with -l option did give out counts for meshes:

Constructed 1 Volume: 1
   type   count    total    minimum    average        rms    maximum   std.dev.
------- ------- -------- ---------- ---------- ---------- ---------- ----------
   Edge  720001  2.3e+03  0.0017362  0.0031342     1.1785       1000     1.1785
    Tri     140  6.9e+05     26.381     4928.8     6392.6     8715.6     4070.9
1D Side     420  1.6e+05     17.431     373.66      588.2     1000.2     454.26
 Vertex  720142

So cgm reader should work with above build.
 
Jane Hu


Asst. Researcher
Dept. of Engineering Physics
UW @ Madison


"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)


________________________________
 From: Jiangtao Hu <jiangtao_ma at yahoo.com>
To: Tim Tautges <tautges at mcs.anl.gov>; "moab-dev at mcs.anl.gov" <moab-dev at mcs.anl.gov> 
Sent: Tuesday, September 17, 2013 12:12 PM
Subject: Re: [MOAB-dev] some errors I met I build moab
 


Instead of using--enable-tools option, I changed in configure for following:

-enable-mbcoupler --enable-mbcslam --enable-dagmc --with-mpi=/usr/bin CC=/usr/bin/mpicc CXX=/usr/bin/mpic++ F77=/usr/bin/mpif77 FC=/usr/bin/mpif90 F90=/usr/bin/mpif90 --with-cgm=/home/jhu/cgm/parellel


And build is successful. 

"Make check" can work for following directory, just some of the testcases failed. I believe I didn't include all the libraries, which causes the failure.

> tools/mbcoupler
> tools/mbcslam
> tools/dagmc
> test/perf

Can you double check with your configure options, and see if it works that way. I'll continue to double check if cgm reader works.
 
Jane 


Asst. Researcher
Dept. of Engineering Physics
UW @ Madison


"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)


________________________________
 From: Tim Tautges <tautges at mcs.anl.gov>
To: moab-dev at mcs.anl.gov 
Sent: Tuesday, September 17, 2013 10:57 AM
Subject: Re: [MOAB-dev] some errors I met I build moab
 

Thanks for the note, comments below...

On 09/16/2013 10:36 PM, 魏华祎 wrote:
> Hi there,
>
>      I checked out  moab from https://bitbucket.org/fathomteam/moab. When I build, I meet some error, I think maybe they
> are bugs.
>
> First ,  when I run the following command and meet an error like:
>
> $  autoreconf -fi
> test/parallel/Makefile.am:30: `:='-style assignments are not portable
>
> After I change ":=" to "=",
 it work well.
>

As Vijay said, this isn't the right way to fix this, it's better to tolerate the warning.  (I may have found a way to 
fix this, so stay tuned...)

> Then I configure it by:
>
> ./configure --prefix=/home/why/software/moab/20130914 --enable-static --enable-igeom --enable-debug --enable-tools
> --enable-docs  --disable-mbzoltan --disable-qvdual \
> --with-netcdf \
> --with-mpi \
> --with-hdf5 \
> --with-zoltan=/usr/local \
> --with-parmetis=/usr \
> --with-cgm=/home/why/software/cgma/6070 \
> --with-vtk=/home/why/software/vtk
>
> and when I make it,  I find I can't compile three tools and a test:
>
> tools/mbcoupler
> tools/mbcslam
> tools/dagmc
> test/perf
>
> The problem is that they can't link with cgm. I find that the problem come from the Makefile in these directories. So I
>
 just change the line
> "LIBS = -lm"  to  "LIBS =  -lm ${CGM_LIBS}", then make can pass, and make check also work well.
>

Ok, we're checking on this.

> I still can't compile the tools/mbzoltan and tools/qvdual, and I havn't figure out the reason why.
>

As Vijay said, you're disabling them with configure options.  And, qvdual is deprecated, I'll go ahead and remove it.

- tim

> Hope these informatin can improve the build process of  Moad.
>
> Best
>
> Huayi
>
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National
 Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
             fax: (608) 263-4499      Madison, WI 53706
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20130917/7476baaa/attachment-0001.html>


More information about the moab-dev mailing list