The MacIntosh (OsX) version of PREPRO2021 comes with Gfortran OsX executables codes,
in compressed form - all of the files in the MAC package base directory are in UNIX
format, ready to be used by any MAC/OSX system.
 
1) Copy MAC.tar to your hard disk and uncompress, untar it: tar. After installation 
   you should have a directory named MAC that contains 49 files and a directory
   named SOURCE; you can then delete MAC-OSX.tar
 
2) To verify a proper installation, it is recommended that after installation 
   you execute the script VERY_MAC.BAT. This is a batch file that will run 
   all the codes in sequence, output results from your own computer.

3) The final two code modules will display the calculated cross sections 
   (EVALPLOT), and compare the results you ouputted to a reference set of 
   results (COMPLOT). Difference of about 1 % to 2% are acceptable; larger 
   differences indicate an installation or execution problem.

   If plots are displayed before the batch file (verify) finished, the entire
   system has been verified and is ready to use. If you do not obtain plots, 
   there was an ERROR during the execution of COMPLOT and EVALPLOT.

   If the codes EVALPLOT and COMPLOT fail to execute then you may need to 
   recompile them, changing the path in the makefile that point to the 
   directory that contains your X-Windows routines, i.e. /usr/lib/X11 on your 
   computer. In this case you will need the FORTRAN source codes that are 
   contained in the SOURCES sub-directory.

4) MAC-OsX systems, as all Linux, may vary from one level/type of computer to 
   another,so that the MAC-OsX executables included in this package may not 
   run on certain older/newer systems. For it to work properly you will have to 
   have install the free Xcode https://developer.apple.com/xcode/, gfortran 
   http://hpc.sourceforge.net/ and Xquarz https://www.xquartz.org/ packages.
   
   otool -L legend
   /usr/lib/libSystem.B.dylib 
   /usr/local/lib/libgcc_s.1.dylib 
   /usr/local/lib/libquadmath.0.dylib 
   
   otool -L complot
   /opt/X11/lib/libXt.6.dylib 
   /opt/X11/lib/libX11.6.dylib 
   /usr/lib/libSystem.B.dylib 
   /usr/local/lib/libgcc_s.1.dylib 
   /usr/local/lib/libquadmath.0.dylib 
   
   In the case those static exec do not work you MUST re-compile the codes; start 
   from the SOURCES sub-directory and run the script ./Compile_OsX that further 
   access COMPLOT/OsX_Makefile and EVALPLOT/OsX_Makefile using Gfortran. 
   Another script ./Compile_OsX_ifort will perform the same steps using Intel 
   Ifort and C compilers. Yet the other scripts ./Compile_Suse and ./Compile_Ubun
   will also create all executables using Gfortran but on Suse Leap 42 and 
   Ubuntu 19.04 LTS systems.
   
   You may  need to edit those scripts to change compiler type, e.g. pgfortran 
   and the X11 library paths to fit your own system/infrastructure if needed. 

5) If you have any problems notify the Nuclear Data Section, IAEA, Vienna, 
   Austria.
 
    services@iaeand.iaea.or.at