User Tools

Site Tools


asc:promc:installation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
asc:promc:installation [2015/01/15 21:45]
asc [Installation from the source (Mac OS)]
asc:promc:installation [2015/03/20 01:08] (current)
asc
Line 54: Line 54:
  
 Then get the current ProMC release from [[https://atlaswww.hep.anl.gov/asc/promc/download/|Download page]]. Then get the current ProMC release from [[https://atlaswww.hep.anl.gov/asc/promc/download/|Download page]].
-Below we show how to download and compile the most recent ProMC package (i.e. ProMC-1.3.tgz):+You can also use [[https://github.com/Argonne-National-Laboratory/ProMC| ProMC github]]. 
 +Below we show how to download and compile the most recent ProMC package (i.e. ProMC-1.5.tgz):
  
 <code bash> <code bash>
Line 89: Line 90:
 <code bash> <code bash>
 ./install.sh  /usr/local  /user/local/HEPMC ./install.sh  /usr/local  /user/local/HEPMC
-source [promc_dir]/setup.sh make it available+source [promc_dir]/setup.sh set PROMC env variable
 </code>  </code> 
  
Line 97: Line 98:
 echo $PROMC echo $PROMC
 </code> </code>
-returns the installation ProMC  directory. Now you can remove the original build directory "ProMC"Test the instillation by writing and reading random numbers :+returns the installation ProMC  directory. Now you can remove the original build directory "ProMC"To test the installation, go to the example directory and run the example that write and reads random numbers in a file:
  
 <code bash> <code bash>
Line 108: Line 109:
 ====== Installation from the source (Mac OS) ====== ====== Installation from the source (Mac OS) ======
  
-For MacOS (Darwin), first install these libraries: pkgconfig, wget, gcc etc. You can can use "Finkto install such dev libraries. +For MacOS (Darwin), first install these libraries: pkgconfig, wget, gcc. You can can use Xcode and Fink and to install such dev libraries. 
-If you do not use "Fink", you should use XCode, Xcode Command Line Tools and MacPort:+If you do not use "Fink", you should use XCode and MacPort:
  
   * Xcode and the Xcode Command Line Tools. Then agree to Xcode license in Terminal: "**sudo xcodebuild -license**"   * Xcode and the Xcode Command Line Tools. Then agree to Xcode license in Terminal: "**sudo xcodebuild -license**"
   * MacPorts for your version of OS X: 10.10 and then "**sudo port install pkgconfig wget**"   * MacPorts for your version of OS X: 10.10 and then "**sudo port install pkgconfig wget**"
  
-The current installation was tested with Fink  or using  Xcode/MacPorts. +The current installation was tested with Xcode/Fink  or using  Xcode/MacPorts. 
-Next we  assume that you are using the "bash" terminal. Then do this (as before):+Next we  assume that you are using the "bash" terminal. Then repeat the same steps as for Linux:
  
 <code bash> <code bash>
 +bash
 wget http://atlaswww.hep.anl.gov/asc/promc/download/current.php -O ProMC.tgz wget http://atlaswww.hep.anl.gov/asc/promc/download/current.php -O ProMC.tgz
 tar -zvxf ProMC.tgz tar -zvxf ProMC.tgz
 cd ProMC cd ProMC
 ./build.sh                   # build all source files ./build.sh                   # build all source files
-./install.sh [promc_dir]     # install into some directory +./install.sh [promc_dir]     # install into [promc_dir] directory 
-source [promc_dir]/setup.sh make it available+source [promc_dir]/setup.sh set PROMC env variable.
 </code> </code>
  
-Test  the instillation by writing and reading random numbers :+To test the installation, go to the example directory and run the example that writes and reads random numbers in/from a file:
  
 <code bash> <code bash>
Line 135: Line 137:
 </code> </code>
  
-You can download compiled ProMC library (MacOS 10.10.1) from [[http://atlaswww.hep.anl.gov/asc/promc/download/promc1.5_macOS_10.10.1.tgz]]. +You can download compiled ProMC library (MacOS 10.10.1) from [[http://atlaswww.hep.anl.gov/asc/promc/download/promc1.5_macOS_10.10.1.tgz]].
 Thanks to Larry Nodulman for verifying this installation. Thanks to Larry Nodulman for verifying this installation.
  
Line 196: Line 197:
  
  
-===== Installation for IBM BlueGene/Q =====+===== Installation on IBM BlueGene/Q =====
 //(contributed by Ed May and William Scullin)// //(contributed by Ed May and William Scullin)//
  
asc/promc/installation.1421358355.txt.gz · Last modified: 2015/01/15 21:45 by asc