User Tools

Site Tools


hpc:alpgenbuildingnotes

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
Next revisionBoth sides next revision
hpc:alpgenbuildingnotes [2014/01/09 16:01] jchildershpc:alpgenbuildingnotes [2014/01/09 16:04] jchilders
Line 6: Line 6:
 === For BG/P & BG/Q ===  === For BG/P & BG/Q === 
    
-For now, use the IBM compiler. That requires <html><span style="color:red">''compile.mk''</span></html>+For now, use the IBM compiler. That requires ''compile.mk''
 to have the following changes to have the following changes
 <code fortran> <code fortran>
Line 18: Line 18:
 endif endif
 </code> </code>
-After  +Doing ''make gen'' or ''make gen90'' will fail at the linking stage because it must be linked with the MPI linker''mpixlf77''. One needs to do
-<code>make gen</code> +
-or +
-<code>make gen90</code> +
-failsone needs to do the following:+
 <code> <code>
 mpixlf77  -o wqqgen ./wqqusr.o ../wqqlib/wqq.o \ mpixlf77  -o wqqgen ./wqqusr.o ../wqqlib/wqq.o \
Line 29: Line 25:
 </code> </code>
 (or similar) to pass the linking phase. (or similar) to pass the linking phase.
- 
  
 ===For BG/Q=== ===For BG/Q===
  
-Run on the command line: +On the command line, run  
-<code>soft add  +mpiwrapper-xl</code> +''soft add  +mpiwrapper-xl''  
-and change +and change the following in the file ''compile.mk''
-<code>compile.mk</code> +
-to+
 <code fortran> <code fortran>
 ifeq ($(shell uname),Linux) ifeq ($(shell uname),Linux)
Line 48: Line 41:
 endif endif
 </code> </code>
-On line 182 of the file ''alplib/alpgen.f'' change \\ + 
-''access='append' '' to ''position='append' ''+On line 182 of the file ''alplib/alpgen.f'' change 
 +''access='append' '' 
 +to 
 +''position='append' ''
  
 There's no getting around the bug by switching compilers on the Q. There's no getting around the bug by switching compilers on the Q.
hpc/alpgenbuildingnotes.txt · Last modified: 2014/03/24 13:08 by jchilders