Problem installing IBAMR

14 views
Skip to first unread message

Jingwen Xiao

unread,
Dec 15, 2025, 8:31:41 AM (7 days ago) Dec 15
to IBAMR Users
Hi all,

I have trouble installing IBAMR on a Windows laptop (via WSL) with both autoibamr.sh and building the dependencies manually. When using autoibamr.sh I got:
error4.png

While installing dependencies manually following https://ibamr.github.io/building, I first encountered an error error3.png

And when I tried to install libmesh again I got the following error even though I'm sure I've installed PETSc (manually, also according to https://ibamr.github.io/building):
error2.png

Any advice? Thanks!

Wells, David

unread,
Dec 15, 2025, 9:44:13 AM (7 days ago) Dec 15
to ibamr...@googlegroups.com
Thanks for reporting this - autoibamr should work on WSL. I think that's the first place to start - it shouldn't be possible for FUNC to not be defined, which implies that something else has done wrong.

Would you please use tee to save the entire console output, i.e., run

./autoibamr.sh --yes 2>&1 | tee all-messages.txt

(on bash and compatible shells so that we capture stdout and stderr) and attach that in an email back to the list?

Best,
David Wells

From: ibamr...@googlegroups.com <ibamr...@googlegroups.com> on behalf of Jingwen Xiao <xjin...@umich.edu>
Sent: Saturday, December 13, 2025 9:46 AM
To: IBAMR Users <ibamr...@googlegroups.com>
Subject: [ibamr-users] Problem installing IBAMR
 
You don't often get email from xjin...@umich.edu. Learn why this is important
--
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/c7ab6088-ec58-4b91-bdf6-a165fd3b3534n%40googlegroups.com.

Jingwen Xiao

unread,
Dec 15, 2025, 11:05:08 AM (7 days ago) Dec 15
to IBAMR Users
Hi David, the log you asked is attached below. 

And since I once cleaned the environment and tried to reinstall PETSc (as before, manually according to https://ibamr.github.io/building), can you also provide some insight on why petscconf.h is missing from my downloaded PETSc package, and where I might be able to find it? Thanks! (I'm aiming for PETSc v3.13.0 or something older but did the same for v3.23.3 to see if changing the version might help, both showed similar problems)

error5.pngerror6.png
all-messages.txt

Wells, David

unread,
Dec 15, 2025, 5:29:02 PM (6 days ago) Dec 15
to IBAMR Users
Hi,

I don't think I'm capable of answering that PETSc question: if you aren't sure, then try deleting the entire source directory and unpacking it again.

I see that, in H5private.h

#ifdef H5_HAVE_C99_FUNC
#define FUNC __func__
#elif defined(H5_HAVE_FUNCTION)
#define FUNC __FUNCTION__
#else
#error "We need __func__ or __FUNCTION__ to test function names!"
#endif

Here, H5_HAVE_C99_FUNC and H5_HAVE_FUNCTION are defined when the compiler supports those particular special values. There's something about your C compiler which is incompatible with what HDF5 expects - that shouldn't happen in WSL. Do you know what compilers you have installed?

Best,
David Wells

Sent: Monday, December 15, 2025 11:05 AM
To: IBAMR Users <ibamr...@googlegroups.com>
Subject: Re: [ibamr-users] Problem installing IBAMR
 

Jingwen Xiao

unread,
Dec 15, 2025, 8:21:58 PM (6 days ago) Dec 15
to IBAMR Users
I'm not sure about that, most installations I've done are based on the IBAMR documentation (I do believe I manually installed libhdf5-openmpi-dev at some point but removed it afterwards). 

Below I attached all the packages I think might be related to the "compilers I installed" by running "apt list '*c*' install",   "apt list 'c*' install",  "apt list 'mpi*' install"  and "apt list '*mpi*' install". 
For further reference, my laptop uses Win11 and currently has nvcc --version V12.0, nvidia-smi CUDA version 13.1/driver version 591.44. 
Hope this helps narrowing down the problem!

apt installed packages.txt
Reply all
Reply to author
Forward
0 new messages