hpc:alpgenbuildingnotes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
hpc:alpgenbuildingnotes [2014/01/09 16:04] – jchilders | hpc:alpgenbuildingnotes [2014/01/09 16:17] – old revision restored (2014/01/09 10:01) jchilders | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Building ALPGEN ===== | ===== Building ALPGEN ===== | ||
- | + | === For BG/P === | |
- | ==== Compile and Fix Asinh Bug ==== | + | ---- |
- | ----- | + | |
- | === For BG/P & BG/Q === | + | |
- | + | ||
For now, use the IBM compiler. That requires '' | For now, use the IBM compiler. That requires '' | ||
to have the following changes | to have the following changes | ||
Line 19: | Line 16: | ||
</ | </ | ||
Doing a '' | Doing a '' | ||
- | < | + | < |
mpixlf77 | mpixlf77 | ||
../ | ../ | ||
Line 27: | Line 24: | ||
===For BG/Q=== | ===For BG/Q=== | ||
- | + | ---- | |
- | On the command line, run | + | On the command line, run \\ |
- | '' | + | '' |
- | and change the following in the file '' | + | and change the following in the file '' |
<code fortran> | <code fortran> | ||
ifeq ($(shell uname), | ifeq ($(shell uname), | ||
Line 42: | Line 39: | ||
</ | </ | ||
- | On line 182 of the file '' | + | On line 182 of the file '' |
- | '' | + | '' |
- | to | + | to \\ |
- | '' | + | '' |
- | There's no getting around the bug by switching compilers | + | Now, Alpgen creates its own '' |
- | Replace | + | <code bash> |
- | - alpgen.f | + | |
- | - zjet.f | + | |
- | can use this command: | + | |
find . -exec grep -l " | find . -exec grep -l " | ||
+ | </ | ||
- | ran into error: | + | You will get error: |
- | ld: -f may not be used without -shared | + | '' |
- | to fix it one needs to do the following: | + | to fix it one needs to do the following: |
+ | <code bash> | ||
mpixlf77 | mpixlf77 | ||
../ | ../ | ||
../ | ../ | ||
+ | </ | ||
(or similar) to pass the linking phase. | (or similar) to pass the linking phase. | ||
- | + | === Carver === | |
- | Carver: | + | ---- |
- | Change compile.mk to have the following changes: | + | Change |
+ | <code make> | ||
module swap pgi gcc | module swap pgi gcc | ||
module swap openmpi openmpi-gcc | module swap openmpi openmpi-gcc | ||
+ | </ | ||
Then everything is fine. | Then everything is fine. | ||
- | Hopper: | + | === Hopper |
- | + | ---- | |
- | module swap PrgEnv-pgi PrgEnv-gnu | + | |
- | That requires compile.mk to have the following changes | ||
+ | module swap PrgEnv-pgi PrgEnv-gnu \\ | ||
+ | That requires '' | ||
+ | <code make> | ||
ifeq ($(shell uname), | ifeq ($(shell uname), | ||
# FFF = gfortran -fno-automatic | # FFF = gfortran -fno-automatic | ||
Line 87: | Line 83: | ||
# -ffast-math | # -ffast-math | ||
endif | endif | ||
+ | </ | ||
- | + | === Edison | |
- | Edison | + | ---- |
module swap PrgEnv-intel PrgEnv-gnu | module swap PrgEnv-intel PrgEnv-gnu |
hpc/alpgenbuildingnotes.txt · Last modified: 2014/03/24 13:08 by jchilders