Skip to content
Snippets Groups Projects
Commit ca40f334 authored by Andreas Korpi-Lagg's avatar Andreas Korpi-Lagg
Browse files

Mac M2 chip added linker path to compile_mac script

parent 43f4288c
Branches
Tags
No related merge requests found
......@@ -20,6 +20,7 @@ IDLSO = fortran/src/*.so
SUBDIRS = fortran/odrpack fortran/src
all: $(MAKECMD)
gitver:
......
......@@ -211,7 +211,7 @@ if test "x$with_mpi" == "x" ; then
[AC_MSG_ERROR([dislin.f90 or dislin.mod not found.])])])
HELIBS=$HELIBS" -ldislin"
if test `uname` == "Darwin" ; then
HELIBS=$HELIBS" -lXm -L/usr/local/lib/ "
HELIBS=$HELIBS" -lXm -L/usr/local/lib/ -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib "
fi
PPFLAGS=$PPFLAGS" "$PP"X11"
AC_MSG_NOTICE([X11 (DISLIN) version])
......
No preview for this file type
......@@ -363,7 +363,8 @@ or, e.g. for the MPI-version at MPS:\\ \code{module load mvapich2\_intel}.
\item run the \code{configure} script with one of the following options:
\begin{itemize}
\item create a single CPU \fortran{} binary with \dislin{} X11 support:\\ \code{./configure --with-dislin[=PATH-TO-DISLIN-LIBRARIES]}\\
Note: MAC users need to specify the path to the OpenMotif libraries (i.e. the location of libXm.a) using the option \code{--with-openmotif=PATH-TO-libXm.a}.
Note 1: MAC users may need to specify the path to the OpenMotif libraries (i.e. the location of libXm.a) using the option \code{--with-openmotif=PATH-TO-libXm.a}. \\
Note 2: MAC users might have to update their command line tools and xcode. Update your xcode installation and type in a terminal: \code{xcode-select --install ; sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer ; sudo xcodebuild -license}.
\item create the MPI-version binary: \\
\code{./configure --with-mpi[=PATH-TO-MPI-DISTRO]}
\item create the shared objects to be used in the \idl{} version:\\ \code{./configure --with-idl}
......
......@@ -14,7 +14,7 @@ DISPLAY_MAP 0 ;if 1 then display maps of parameters after
DISPLAY_PROFILE 1 ;if 1 then display fitted & observed profiles
DISPLAY_COMP 1 ;if 1 then display individual atm. components of
; fitted profiles
VERBOSE 2 ;verbosity of output: 0=quiet, 1=normal, 2=women
VERBOSE 1 ;verbosity of output: 0=quiet, 1=normal, 2=women
SAVE_FITPROF 0 ;if 1 then save fitted profile as sav-file (can be
; used as input profile)
FITSOUT 1 ;if 1 then write out map results in FITS format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment