Hi all,
I’m trying to build IBAMR on macOS and all dependencies are installed (PETSc, HYPRE, HDF5, Boost, Eigen, muParser), but I can’t access SAMRAI.
I tried cloning https://github.com/IBAMR/SAMRAI.git and the v2.4.4-patched branch, but it asks for credentials or says “repository not found.”
I don’t have GitHub access for private repos.
Has anyone successfully built IBAMR recently? Is SAMRAI public now, or is there a recommended way to get it for building IBAMR?
Thanks in advance!
--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/a19eca7b-26c0-4ff5-8a28-52b46844afean%40googlegroups.com.
On Sep 23, 2025, at 11:57 PM, Boyce Griffith <boy...@gmail.com> wrote:Sorry for the confusion, but our fork of SAMRAI has been moved to https://github.com/IBAMR/IBSAMRAI2.
- Configuring incomplete, errors occurred!
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/A0382EBD-A128-4C99-A34E-D151679C0864%40gmail.com.
On Sep 24, 2025, at 7:53 PM, Hamideh Rouhani <hamideh....@gmail.com> wrote:Thanks for the reply 🙏. I tried that, but now I’m getting this error during configuration:Setting up SAMRAI
CMake Error: FILE STRINGS file "/include/SAMRAI_config.h" cannot be read.
Could not find SAMRAI_path …- Configuring incomplete, errors occurred!
On Wed, Sep 24, 2025 at 12:10 AM Boyce Griffith <boy...@gmail.com> wrote:On Sep 23, 2025, at 11:57 PM, Boyce Griffith <boy...@gmail.com> wrote:Sorry for the confusion, but our fork of SAMRAI has been moved to https://github.com/IBAMR/IBSAMRAI2.PS: Where are you seeing IBAMR instructions that point to https://github.com/IBAMR/SAMRAI?For most people, it is easiest to use autoibamr to install IBAMR and/or its dependencies.— BoyceOn Sep 23, 2025, at 8:18 PM, Hamideh Rouhani <hamideh....@gmail.com> wrote:Hi all,
I’m trying to build IBAMR on macOS and all dependencies are installed (PETSc, HYPRE, HDF5, Boost, Eigen, muParser), but I can’t access SAMRAI.
I tried cloning https://github.com/IBAMR/SAMRAI.git and the v2.4.4-patched branch, but it asks for credentials or says “repository not found.”
I don’t have GitHub access for private repos.
Has anyone successfully built IBAMR recently? Is SAMRAI public now, or is there a recommended way to get it for building IBAMR?
Thanks in advance!
--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/a19eca7b-26c0-4ff5-8a28-52b46844afean%40googlegroups.com.
--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/A0382EBD-A128-4C99-A34E-D151679C0864%40gmail.com.
--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/CAGvVTWDnDeE0m0Pty0VaOEZc1J3aE0hkB%3D-c0bNjnfRHya5pjQ%40mail.gmail.com.
I installed IBAMR using autoibamr on macOS (AppleClang with Homebrew MPI). The installation itself completed successfully, and IBAMR is built and installed under ~/autoibamr/packages/IBAMR-0.16.0
.
When I tried to build with the --enable-examples
option, I got a configuration error related to SAMRAI.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/F9B02901-782E-4AEC-B99F-718345E0950C%40gmail.com.
You don't often get email from hamideh....@gmail.com.
Learn why this is important
|
autoibamr
directory to build IBAMR along with example codes.On Sep 25, 2025, at 11:00 AM, Hamideh Rouhani <hamideh....@gmail.com> wrote:Hello,I ran the command:./autoibamr.sh --enable-examplesinside theautoibamr
directory to build IBAMR along with example codes.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/CAGvVTWBEgzD2qMMHf%2BONbkw_XM9CwtS%2BveRvupJgeQa5paWrtg%40mail.gmail.com.
I installed IBSAMRAI2 via autoIBAMR following the instructions, but when building examples I get errors about SAMRAI not being found.
Summary of my setup:
IBAMR_DIR: /Users/H/IBAMR
SAMRAI_DIR: /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09
CMake: 3.30.6
OpenMPI: 5.0.8
HDF5: 1.14.6 (Fortran ON, Parallel OFF)
Boost: 1.89.0
macOS: Darwin 23.6.0 (arm64)
Error:
It seems SAMRAI is not built or linked. How should I fix this?
Thank you.
On Sep 25, 2025, at 12:11 PM, Hamideh Rouhani <hamideh....@gmail.com> wrote:I installed IBSAMRAI2 via autoIBAMR following the instructions, but when building examples I get errors about SAMRAI not being found.
Summary of my setup:
IBAMR_DIR: /Users/H/IBAMR
SAMRAI_DIR: /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09
CMake: 3.30.6
OpenMPI: 5.0.8
HDF5: 1.14.6 (Fortran ON, Parallel OFF)
Boost: 1.89.0
macOS: Darwin 23.6.0 (arm64)
Error:
FILE STRINGS file "/include/SAMRAI_config.h" cannot be read. Could not find SAMRAI_path using the following names: SAMRAI
It seems SAMRAI is not built or linked. How should I fix this?
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/7318aa97-3e07-4225-b6f5-92f0bb32bfcfn%40googlegroups.com.
On Sep 25, 2025, at 12:25 PM, Boyce Griffith <boy...@gmail.com> wrote:Just to confirm these are IBAMR examples or the SAMRAI examples?On Sep 25, 2025, at 12:11 PM, Hamideh Rouhani <hamideh....@gmail.com> wrote:I installed IBSAMRAI2 via autoIBAMR following the instructions, but when building examples I get errors about SAMRAI not being found.
![]() | |
I have successfully installed IBAMR and SAMRAI using autoibamr.sh
. My environment variables are set as follows:
echo $IBAMR_DIR → /Users/H/IBAMR echo $SAMRAI_ROOT → /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09 echo $SAMRAI_DIR → /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09/ echo $HDF5_DIR → /Users/H/autoibamr/packages/hdf5-1.12.2
I sourced the environment setup:
source /Users/H/autoibamr/configuration/enable.sh
Then I attempted to build the example ex0
:
cd $IBAMR_DIR/examples/IB/explicit/ex0 mkdir build cd build cmake .. \ -DCMAKE_CXX_STANDARD=14 \ -DBOOST_ROOT=/opt/homebrew/opt/boost \ -DSAMRAI_ROOT=$SAMRAI_ROOT \ -DIBAMR_DIR=$IBAMR_DIR
However, I get the following error:
CMake Error at CMakeLists.txt:14 (IBAMR_ADD_EXAMPLE): Unknown CMake command "IBAMR_ADD_EXAMPLE".
Also, I get warnings about missing project()
and cmake_minimum_required()
commands.
I suspect this happens because the example's CMakeLists.txt cannot find IBAMR’s CMake macros.
I have already built IBAMR successfully, but when building examples, it seems CMake cannot locate the necessary IBAMR configuration.
Could someone clarify:
Whether I need to pass additional flags to CMake when building examples?
Whether there’s a special build step for examples in IBAMR (besides building IBAMR itself)?
Whether my environment variables are incorrectly set for example building?
Thank you for your help.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/D091D6B0-81AC-4339-8F4C-09FBED9C880A%40gmail.com.
On Sep 25, 2025, at 2:11 PM, Hamideh Rouhani <hamideh....@gmail.com> wrote:I have successfully installed IBAMR and SAMRAI using
autoibamr.sh
. My environment variables are set as follows:echo $IBAMR_DIR → /Users/H/IBAMR echo $SAMRAI_ROOT → /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09 echo $SAMRAI_DIR → /Users/H/autoibamr/packages/IBSAMRAI2-2025.01.09/ echo $HDF5_DIR → /Users/H/autoibamr/packages/hdf5-1.12.2
I sourced the environment setup:
source /Users/H/autoibamr/configuration/enable.sh
Then I attempted to build the example
ex0
:cd $IBAMR_DIR/examples/IB/explicit/ex0 mkdir build cd build cmake .. \ -DCMAKE_CXX_STANDARD=14 \ -DBOOST_ROOT=/opt/homebrew/opt/boost \ -DSAMRAI_ROOT=$SAMRAI_ROOT \ -DIBAMR_DIR=$IBAMR_DIR
However, I get the following error:
CMake Error at CMakeLists.txt:14 (IBAMR_ADD_EXAMPLE): Unknown CMake command "IBAMR_ADD_EXAMPLE".
Also, I get warnings about missing
project()
andcmake_minimum_required()
commands.I suspect this happens because the example's CMakeLists.txt cannot find IBAMR’s CMake macros.
I have already built IBAMR successfully, but when building examples, it seems CMake cannot locate the necessary IBAMR configuration.
Could someone clarify:
Whether I need to pass additional flags to CMake when building examples?
Whether there’s a special build step for examples in IBAMR (besides building IBAMR itself)?
Whether my environment variables are incorrectly set for example building?
~ ➜ source ~/code/autoibamr/dbg/configuration/enable.sh~ ➜ cmake \-DCMAKE_BUILD_TYPE=Debug \-DCMAKE_C_COMPILER="$(which mpicc)" \-DCMAKE_CXX_COMPILER="$(which mpicxx)" \-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \-DCMAKE_Fortran_COMPILER="$(which mpif90)" \-DCMAKE_INSTALL_PREFIX="" \-DHDF5_ROOT=$HDF5_DIR \-DHYPRE_ROOT=$PETSC_DIR \-DIBAMR_FORCE_BUNDLED_BOOST=ON \-DIBAMR_FORCE_BUNDLED_EIGEN3=ON \-DIBAMR_FORCE_BUNDLED_MUPARSER=ON \-DLIBMESH_ROOT=$LIBMESH_DIR \-DLIBMESH_METHOD=devel \-DNUMDIFF_ROOT=$NUMDIFF_DIR \-DPETSC_ROOT=$PETSC_DIR \-DSAMRAI_ROOT=/Users/boyceg/sfw/samrai/IBSAMRAI2/darwin-clang-dbg \-DSILO_ROOT=$SILO_DIR \../IBAMR
~ ➜ make~ ➜ cd examples/navier_stokes/ex1~ ➜ make navier_stokes-ex1-2d~ ➜ ./main2d input2d
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/CAGvVTWAkKYs%2Bkb%2BV8nGU_dBB23C3rQxGCNjjk8Mb62fchs5eRg%40mail.gmail.com.