File: Porting.notes

package info (click to toggle)
nwchem 7.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,352,308 kB
  • sloc: fortran: 4,965,533; ansic: 259,769; f90: 30,773; sh: 22,069; python: 19,545; cpp: 15,679; java: 12,311; perl: 6,733; csh: 4,122; makefile: 4,109; sed: 246; awk: 115; exp: 111; asm: 106; pascal: 76
file content (26 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Intel Paragon OSF/1 R1.2.1	16 July 1994	DE Bernholdt

PGI's compilation system is braindamaged in some fascinating ways.
1) cpp860 by default defines __PARAGON__ and other things, as stated in
   the man page, but when invoked by if77, these things are _not_ defined.
2) ld's -L prepends directories to the search path instead of
   appending like every other unix compiler package I've encountered.



HP-UX 9000/735, also some others      08 Feb 1996  Jarek Nieplocha

1. Avoid the _free_ HP C compiler - use gcc instead:

HP cc does not generate any symbols or code for several routines in one of
the GA files. To make the user's life more entertaining, there is no any
warning or error messages either -- compiler creates a junk object file
quietly and pretends that everything went well.

Karl Anderson says: "(HP) cc is worh every penny you paid for it"

2. fort77 instead of f77 should be used to link fortran programs since 
f77 doesn't support -L flag. Fortran code should be compiled with the 
+ppu flag that adds underscores to the subroutine names.