Changeset 3191


Ignore:
Timestamp:
12/16/07 13:15:22 (12 years ago)
Author:
paulf
Message:

added notes for -m32 flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/environment/ew_linux.bash

    r2969 r3191  
    33# to run or build an EARTHWORM system under Linux. 
    44 
     5# IMPORTANT NOTE, if running on a 64 bit linux system, long's can be 8 bytes and not 4 bytes! 
     6# If this is the case, be sure to compile with the -m32 flag in the GLOBALFLAGS section!!!! 
     7 
    58# Set environment variables describing your Earthworm directory/version 
    6 export EW_HOME=/earthworm 
    7 export EW_VERSION=7.1 
     9export EW_HOME=/home/paulf/ 
     10export EW_VERSION=earthworm 
    811export SYS_NAME=`hostname` 
    912 
     
    4043 
    4144# Set environment variables for compiling earthworm modules 
    42 export GLOBALFLAGS="-Dlinux -D__i386 -D_LINUX -D_INTEL -D_USE_SCHED  -D_USE_PTHREADS -D_USE_TERMIOS -I${EW_HOME}/${EW_VERSION}/include" 
     45# add in -m32 if you are running a 64 bit linux architecture! Some EW codes may not work otherwise. 
     46# 
     47export GLOBALFLAGS="-m32 -Dlinux -D__i386 -D_LINUX -D_INTEL -D_USE_SCHED  -D_USE_PTHREADS -D_USE_TERMIOS -I${EW_HOME}/${EW_VERSION}/include" 
    4348 
     49# this is only needed by hyp2000_mgr! 
     50export FORTRANFLAGS="-m32" 
    4451export CFLAGS=$GLOBALFLAGS 
    4552export KEEP_STATE="" 
Note: See TracChangeset for help on using the changeset viewer.