How to download and install SAMRAI

92 views
Skip to first unread message

Yiming Gan

unread,
Jan 4, 2022, 11:04:19 AM1/4/22
to IBAMR Developers
Hi,

I've been learning IB in Matlab for a while. The IBAMR code is my next goal for 3D simulation. The installation of IBAMR is kinda painful. I've installed HDF5, Silo, MPI, hypre via 'sudo apt install'. The libraries are in /usr/lib/. How can I link them to the IBAMR code?

However, I can't find SAMRAI2.4.4 on google. The only package I find is this one on github https://github.com/LLNL/SAMRAI , but I don't know if it's the right version or not. Besides, when patching the file, the command window asks 'File to patch:', which is also confusing to me.

Thanks for reading my problems! I am not good at C++ and linux. I really appreciate your help!

Best,
Yiming

Amneet Bhalla

unread,
Jan 7, 2022, 8:27:57 PM1/7/22
to IBAMR Developers
It is listed under the tags section of SAMRAI Github.


The instruction to patch SAMRAI has a typo:
cd SAMRAI-2.4.4 
patch -p1 < 0001-Collect-necessary-IBAMR-patches.patch

It should be  

cd SAMRAI-2.4.4
patch -p1 < /path/to/0001-Collect-necessary-IBAMR-patches.patch

--
You received this message because you are subscribed to the Google Groups "IBAMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ibamr-dev/64b70f61-0a37-42d8-97a4-fc8d7d579f39n%40googlegroups.com.


--
--Amneet 



Yiming Gan

unread,
Feb 2, 2022, 1:38:22 PM2/2/22
to IBAMR Developers
It works! Thanks a lot!

Yiming
Reply all
Reply to author
Forward
0 new messages