SAMRAI building error

118 views
Skip to first unread message

Raveena

unread,
May 23, 2017, 11:07:06 AM5/23/17
to IBAMR Users
I am having trouble getting SAMRAI to build correctly. I am able to configure it, but make generates a series of errors. Here is how I am configuring SAMRAI for the debugging build:
../SAMRAI-2.4.4/configure \
  --prefix=$HOME/sfw/samrai/2.4.4/sierra-g++-debug \
  --with-CC=gcc \
  --with-CXX=g++ \
  --with-F77=gfortran \
  --with-MPICC=$HOME/sfw/sierra/openmpi/2.1.1/bin/mpicc \
  --with-hdf5=$HOME/sfw/sierra/hdf5/1.8.16 \
  --without-hypre \
  --without-silo \
  --without-blaslapack \
  --without-cubes \
  --without-eleven \
  --without-kinsol \
  --without-petsc \
  --without-sundials \
  --without-x \
  --with-doxygen \
  --with-dot \
  --enable-debug \
  --disable-opt \
  --enable-implicit-template-instantiation \
  --disable-deprecated

And here are the errors generated after make:


8 errors generated.

make[5]: *** [stl-FundamentalTypes.o] Error 1

make[4]: *** [libXd] Error 1

make[3]: *** [libXd] Error 1

make[2]: *** [libXd] Error 1

make[1]: *** [compile] Error 1

make: *** [library] Error 1


I tried configuring with the --without-silo option as mentioned here: https://groups.google.com/forum/#!searchin/ibamr-users/..$2F..$2F..$2F..$2FSAMRAI-2.4.4$2Fsource$2Ftoolbox$2Frestartdb$2FSiloDatabase.C%7Csort:relevance/ibamr-users/LOrGJnXFepI/d9_aiCiOAgAJ   but this does not seem to fix the error. I have attached my make.log, patch.log, and config.log here. 

Thanks,
Raveena


make.log
config.log
patch.log

Amneet Bhalla

unread,
May 23, 2017, 11:12:06 AM5/23/17
to ibamr...@googlegroups.com
You can comment stl-fundamental types file located in SAMRAI's source directory (the directory which you have unzipped and patched). The exact location of the file is

./source/toolbox/templates/special/stl-FundamentalTypes.C


#if 0

#include <vector>


///// SOME CODE //////


template class std::vector<double>;

template void std::vector<double>::insert<double*>(std::vector<double>::iterator, double *, double *);

template void std::vector<double>::insert<const double *>(std::vector<double>::iterator, const double *, const double *);


#endif



--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users+unsubscribe@googlegroups.com.
To post to this group, send email to ibamr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--Amneet 



Boyce Griffith

unread,
May 23, 2017, 11:17:44 AM5/23/17
to ibamr...@googlegroups.com
Hmmm, I guess we need to roll a new SAMRAI patch.

To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.

Amneet Bhalla

unread,
May 23, 2017, 11:21:09 AM5/23/17
to ibamr...@googlegroups.com
Yes. Also include patch for complex type and vector<string> stuff that was discussed some time ago with Lindsay. I had to do that too on OS X Sierra. 

To post to this group, send email to ibamr-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



-- 
--Amneet 




-- 
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users+unsubscribe@googlegroups.com.
To post to this group, send email to ibamr-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users+unsubscribe@googlegroups.com.
To post to this group, send email to ibamr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--Amneet 



Raveena

unread,
May 24, 2017, 3:07:32 PM5/24/17
to IBAMR Users
That worked, thank you.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.

To post to this group, send email to ibamr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--Amneet 



Reply all
Reply to author
Forward
0 new messages