- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My macOS recently upgraded to Ventura 13.4
and my large Fortran application would no longer build.
I upgraded to oneapi 2023.2 but it still fails with hundreds of lines like
ld: warning: no platform load command found in '/opt/intel/oneapi/mkl/latest/lib/libmkl_core.a[22436](xdpptrf.o)', assuming: macOS
ld: warning: no platform load command found in '/opt/intel/oneapi/mkl/latest/lib/libmkl_core.a[22441](xdsptrd.o)', assuming: macOS
ld: warning: no platform load command found in '/opt/intel/oneapi/mkl/latest/lib/libmkl_core.a[22540](dgesvdx.o)', assuming: macOS
referring to all the static libraries it needs. e.g.
-rw-r--r--@ 1 root wheel 415274272 14 Jun 03:16 libmkl_core.a
-rw-r--r--@ 1 root wheel 56582800 14 Jun 03:16 libmkl_intel_ilp64.a
-rw-r--r--@ 1 root wheel 61978400 14 Jun 03:16 libmkl_intel_lp64.a
-rw-r--r--@ 1 root wheel 77574368 14 Jun 03:16 libmkl_intel_thread.a
and
ld: warning: no platform load command found in '/opt/intel/oneapi/compiler/latest/mac/compiler/lib/libimf.a[1316](matherr.o)', assuming: macOS
ld: warning: no platform load command found in '/opt/intel/oneapi/compiler/latest/mac/compiler/lib/libimf.a[1317](matherrf.o)', assuming: macOS
ld: warning: no platform load command found in '/opt/intel/oneapi/compiler/latest/mac/compiler/lib/libimf.a[1318](matherrl.o)', assuming: macOS
ld: warning: no platform load command found in '/opt/intel/oneapi/compiler/latest/mac/compiler/lib/libimf.a[1320](acosf_avx2.o)', assuming: macOS
-rw-r--r--@ 1 root wheel 1849824 9 Jun 21:00 libifcore.a
-rw-r--r--@ 1 root wheel 1871992 9 Jun 21:00 libifcoremt.a
-rw-r--r--@ 1 root wheel 409432 9 Jun 21:00 libifport.a
-rw-r--r--@ 1 root wheel 5865872 9 Jun 21:00 libimf.a
-rw-r--r--@ 1 root wheel 2157800 9 Jun 21:00 libiomp5.a
-rw-r--r--@ 1 root wheel 233128 9 Jun 21:00 libiompstubs5.a
I enclose my makefile in case someone can see what is wrong
or has a suggestion.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I eventually discovered this is 'just a warning' that the linker is 'assuming macOS' (since I am running
on a Mac) and it actually did build my program despite the hundreds of warnings.
It would be nice to be able to suppress the warning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most of fortran programs can be compiled with the warnings. However, some models could not compile , which may be related with the "ar" .
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page