This page has a list of known issues for the MacOS X operating system (all compilers).
gfortran compiler fails with missing reference |
The compilation failure message may be seen when using the gnu compiler, gfortran, on MacOS X when compiling drhook.c. To compile OpenIFS correctly on a mac requires a small change to the configuration files to add a pre-processor symbol. In addition, please be aware that the FCM command will hang if more than one thread is being used (see below). For the required compiler/build option, make a copy of the configuration. e.g. assuming the use of the GNU compilers:
Edit
add
and save the file. To compile OpenIFS with this new configuration file set:
which tells the build system to use the file: mac-opt.cfg. The same change can be made to the un-optimized compilation configuration: |
FCM hangs if more than one thread is used |
There is a known issue where more than one thread causes the fcm command to hang. Until this is fixed only use 1 thread for compilation e.g.
This will unfortunately result in longer compile times. |
<script type="text/javascript" src="https://jira.ecmwf.int/s/en_UKet2vtj/787/12/1.2.5/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=5fd84ec6"></script> |