Re: AMBER: Installing AMBER on SGI Octane 2-CPU - erfcfun.c compile prob.

From: David A. Case <case.scripps.edu>
Date: Tue, 10 Feb 2004 15:54:45 -0800

On Tue, Feb 10, 2004, Joseph E. Maxwell wrote:
>
> Could someone say what leeway exist for AMBER installation with native
> vs open source compilers, like GNU, on SGI machines. I am on an Octane
> ESSI - 2 300 MHz IP30, IRIX 6.5.16 . Just installed f90 front end
> compilers to install AMBER, then ran into another problem in the
> installation with ==>
>
> f90 -nocpp -mips4 -n32 -r10000 -c -O1 -old_rl
> -OPT:roundoff=3:IEEE_arithmetic=3:alias=restrict -TENV:X=1 _sys_.f
> ../../Compile CC erfcfun.c
> cc -mips4 -n32 -r10000 -c -g -DIRIS -DMEM_ALLOC -DHAS_FTN_ERFC
> -DMPI -DRLE -DROWAT -DBLAS1 -DSGIFFT -DTFP -DCACHE_BLOCKSIZE=2500
> erfcfun.c
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>

When -DHAS_FTN_ERFC is defined, then erfcfun.c gets pre-processed to an
empty file. It could be that your cc compiler (which one is it?) has
difficulties with that. The simplest thing to try would be to remove the
-DHAS_FTN_ERFC from your MACHINE file. (This option doesn't really do any
good, and has been dropped from amber8). Alternatively, you could remove
erfcfun from the Makefile in amber7/Machines/standard.

The GNU compilers, g77/gcc should also work fine on SGI, but seem not
to produce code that is quite as fast.

....hope this helps...dac

-- 
==================================================================
David A. Case                     |  e-mail:      case.scripps.edu
Dept. of Molecular Biology, TPC15 |  fax:          +1-858-784-8896
The Scripps Research Institute    |  phone:        +1-858-784-9768
10550 N. Torrey Pines Rd.         |  home page:                   
La Jolla CA 92037  USA            |    http://www.scripps.edu/case
==================================================================
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Feb 11 2004 - 00:53:00 PST
Custom Search