User Tools

Site Tools


package:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
package:installation [2022/04/09 08:51] pbloechlpackage:installation [2022/04/09 09:03] (current) – removed pbloechl
Line 1: Line 1:
-==== Installation ==== 
- 
-FIXME Someone should verify that this description is complete and correct. Then this fixme can be removed. 
- 
-=== MacOS === 
- 
-== Xcode == 
- 
-MacOS has the compiler "gfortran" and the libraries "LAPACK" and "BLAS" installed already as system libraries. Important is to install "Xcode" from the Appstore. (Sign the license after opening it from the application folder.) Then install the "Command-Line tools" 
- of Xcode. (Check the web for installation instructions). 
- 
-== Homebrew == 
-I am installing Linux programs using [[https://brew.sh|homebrew]]. If you do not have it already, follow the installation instruction on its web page. Then install the following libraries.  
-<code> 
-brew install fftw  --with-fortran 
-brew install openmpi 
-brew install grace 
-</code> 
- 
- 
-== PAW == 
- 
-  - Unpack the PAW distribution into a directory, which I will name PAWDIR in the following.  
-  - add the directory PAWDIR/bin/osx_gfortran_accellerate to your PATH variable in your ~/.profile 
-  - Create a file [[:package:installation:MacOS/parmsfile|''parms.osx_gfortran_accelerate'']] in PAWDIR 
-  - Check the values of the parameters FFTDIR, FFTHEADER, MPIDIR, and MPIDIR in ''parms.osx_gfortran_accelerate''. Most likely, you will need to adjust the version numbers of the codes. 
-  - execute in PAWDIR   <code> 
-     autoconf 
-     configure --with-parmfile=parms.osx_gfortran_accelerate 
-     make all </code> "autoconf" uses the file "configure.ac" to construct the "configure" file. You can skip this step, if a configure file is already present. After the "configure" command, you should get some information that ends with ''done!---configuration completed successfully!''. If not, inspect the error messages and fix them. The "make" command may take a very long time, if you set up the code for the first time.  
-  - Codesign: When you try to remotely execute unsigned code under macos, it will ask you for permission. This is painful when you run parallel code. Therefore it is advisable to sign the parallel executables. This is a fairly complicated procedure, which you need to look up. (FIXME This section could be expanded.) 
-  - Increase the stack size and the core-dump size by including the following commands in your ''~/.profile'' <code> 
-    ulimit -s 65532 
-    ulimit -c unlimited </code> 
-    
-     
-     
-     
  
package/installation.1649494315.txt.gz · Last modified: 2022/04/09 08:51 by pbloechl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki