Skip to content

Added compatibility of LINUX and DARWIN hosts with local IMAS installation - #15

Merged
hrdoktorx merged 1 commit into
iterorganization:feature/wg_releasefrom
antonellozito:feature/local_IMAS_installation
Sep 13, 2026
Merged

hrdoktorx merged 1 commit into
iterorganization:feature/wg_releasefrom
antonellozito:feature/local_IMAS_installation

Conversation

@antonellozito

Copy link
Copy Markdown
Collaborator

DivGeo component: --defsym flag not compatible with MacOS.

The same change can be cherry-picked towards the other main branches.

@hrdoktorx

Copy link
Copy Markdown
Collaborator

What is LD_AL with and without your change?

@antonellozito

Copy link
Copy Markdown
Collaborator Author

What is LD_AL with and without your change?

I manually run it on my laptop: without the change it is

-L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Fortran/install/lib/pkgconfig/../../lib -lal-identifiers-fortran -L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/GGD/install/lib -lggd -lal-fortran-4.1.1 -Wl,--defsym,DD_VER_4.1.1=0 -Wl,-rpath,/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Fortran/install/lib/pkgconfig/../../lib -L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Cpp/install/lib/pkgconfig/../../lib -lal -Wl,--defsym,AL_VER_5.7.2=0 -Wl,-rpath,/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Cpp/install/lib/pkgconfig/../../lib

and with it is

-L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Fortran/install/lib/pkgconfig/../../lib -lal-identifiers-fortran -L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/GGD/install/lib -lggd -lal-fortran-4.1.1 -Wl,-rpath,/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Fortran/install/lib/pkgconfig/../../lib -L/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Cpp/install/lib/pkgconfig/../../lib -lal -Wl,-rpath,/Users/azito/Work/Codes/solps-iter_azito/lib/DARWIN.gfortran/IMAS/Cpp/install/lib/pkgconfig/../../lib

and this makes it understandable by my Mac, since I happened to discover that the Apple's linker does not understand --defsym.

@hrdoktorx
hrdoktorx merged commit 0fb64e6 into iterorganization:feature/wg_release Sep 13, 2026
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