Skip to content

FDS Makefile : Make gfortran libraries statically linked for osx targ…#15907

Merged
marcosvanella merged 1 commit intofiremodels:masterfrom
marcosvanella:master
Feb 2, 2026
Merged

FDS Makefile : Make gfortran libraries statically linked for osx targ…#15907
marcosvanella merged 1 commit intofiremodels:masterfrom
marcosvanella:master

Conversation

@marcosvanella
Copy link
Contributor

…ets. Switch opt target flag to -O3.

@marcosvanella marcosvanella merged commit cdfea2d into firemodels:master Feb 2, 2026
19 checks passed
@marcosvanella
Copy link
Contributor Author

@rmcdermo @ericvmueller @cxp484 FYI, Glenn is working on an ARM OSX bundle and we are in the process of statically linking all libraries. I added static link to gfortran libs. Check you can still compile in your macs without issues.
You should only see the following dynamic libraries linked to the executable:

ompi_gnu_osx (master) $ otool -L fds_ompi_gnu_osx 
fds_ompi_gnu_osx:
	/opt/homebrew/opt/open-mpi/lib/libmpi_usempif08.40.dylib (compatibility version 81.0.0, current version 81.3.0)
	/opt/homebrew/opt/open-mpi/lib/libmpi_usempi_ignore_tkr.40.dylib (compatibility version 81.0.0, current version 81.1.0)
	/opt/homebrew/opt/open-mpi/lib/libmpi_mpifh.40.dylib (compatibility version 81.0.0, current version 81.1.0)
	/opt/homebrew/opt/open-mpi/lib/libmpi.40.dylib (compatibility version 81.0.0, current version 81.7.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)

@cxp484
Copy link
Contributor

cxp484 commented Feb 2, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants