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

some mac compilation issues

parent ecdeeb77
Branches
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ function call_cp,ipt=ipt,line=line,atm=atm,obs_par=obs_par, $ ...@@ -11,7 +11,6 @@ function call_cp,ipt=ipt,line=line,atm=atm,obs_par=obs_par, $
@common_maxpar @common_maxpar
if n_elements(idlso_dir) eq 0 then idlso_dir='./idl.so/' if n_elements(idlso_dir) eq 0 then idlso_dir='./idl.so/'
if n_elements(comp) eq 0 then comp=-1 if n_elements(comp) eq 0 then comp=-1
......
...@@ -118,7 +118,7 @@ pro helix,ifile,ipt=input_file,list=plist,savall=savall, $ ...@@ -118,7 +118,7 @@ pro helix,ifile,ipt=input_file,list=plist,savall=savall, $
ipt=read_ipt(struct=struct_ipt,parin=parin) ipt=read_ipt(struct=struct_ipt,parin=parin)
struct_mode=1 struct_mode=1
endelse endelse
;reading input atmosphere (ATM_INPUT keyword) ;reading input atmosphere (ATM_INPUT keyword)
read_atminput read_atminput
...@@ -925,7 +925,6 @@ pro helix,ifile,ipt=input_file,list=plist,savall=savall, $ ...@@ -925,7 +925,6 @@ pro helix,ifile,ipt=input_file,list=plist,savall=savall, $
endif endif
endif endif
endfor endfor
;initialize call to compute_profile ;initialize call to compute_profile
if ipt.code eq 'IDL' then begin if ipt.code eq 'IDL' then begin
fill_localstray,lsi,lsq,lsu,lsv,dols, $ fill_localstray,lsi,lsq,lsu,lsv,dols, $
......
#!/bin/bash #!/bin/bash
#compile on ubuntu linux machines #compile on ubuntu linux machines
echo "There is currently no support for Apple Silicon. Solution: Compile it on an intel mac, the binaries can be used also on a Silicon Mac."
git pull git pull
autoconf autoconf
#FC=gfortran FC=gfortran
FC=ifort #FC=ifort
#cfitsio=./cfitsio
cfitsio=/opt/homebrew/
cfitsio=/opt/homebrew/
cfitsio=./cfitsio dislin=/usr/local/dislin
#dislin=
#create ifort version with X11 #create ifort version with X11
./configure FC=gfortran --with-dislin=/usr/local/dislin --with-cfitsio=$cfitsio ./configure FC=gfortran --with-dislin=$dislin --with-cfitsio=$cfitsio
make clean all install make clean all install
[ $? != 0 ] && { echo "Compilation failed. Exit." ; exit ;} [ $? != 0 ] && { echo "Compilation failed. Exit." ; exit ;}
#create gfortran version with X11 #create gfortran version with X11
./configure FC=gfortran --with-dislin=/usr/local/dislin --with-cfitsio=$cfitsio ./configure FC=gfortran --with-dislin=$dislin --with-cfitsio=$cfitsio
make clean all install make clean all install
[ $? != 0 ] && { echo "Compilation failed. Exit." ; exit ;} [ $? != 0 ] && { echo "Compilation failed. Exit." ; exit ;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment