make
F77FLAGS
and
CCFLAGS
to enable optimization.
# For Fortran setenv F77 'f77' setenv F77FLAGS '-g -64' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/lib' setenv LIBBLAS '-lblas' # For C setenv CC 'cc' setenv CCFLAGS '-g -64' setenv CCCFLAGS '-I/usr/local/include -c' setenv CCLFLAGS '-L/usr/local/lib' # For C++ setenv CXX 'CC' setenv CXXFLAGS '-g -64' setenv CXXCFLAGS '-I/usr/local/include -c' setenv CXXLFLAGS '-L/usr/local/lib' # Use the following assignments to enable optimization: setenv F77FLAGS '-O -64' setenv CCFLAGS '-O -64' setenv CXXFLAGS '-O -64' # Use the following for GL/GLUT/Inventor Development # NOTE: CURRENTLY YOU *MUST* DEVELOP GL/INVENTOR APPLICATIONS USING '-n32' # (new 32-bit) MODE ON sgi1: THE '-64' (64 bit) LIBRARIES DO NOT EXIST. setenv CCFLAGS '-g -n32' setenv CXXFLAGS '-g -n32' setenv LIBGL '-lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm' setenv LIBINVENTOR '-lInventorXt -lInventor -lGL -lXt -lXm -lX11 -lm' # Use the following for Xforms/GL Development setenv LIBXFORMS '-lforms -lGL -lXext -lX11 -lm'
The following assignments are made by default for all users.
# For Fortran setenv F77 'f77' setenv F77FLAGS '-g' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/lib' setenv LIBBLAS '-lblas' # For C setenv CC 'gcc' setenv CCFLAGS '-g' setenv CCCFLAGS '-I/usr/local/include -I/usr/X11R6/include -c' setenv CCLFLAGS '-L/usr/local/lib -L/usr/X11R6/lib' # For C++ setenv CXX 'gcc' setenv CXXFLAGS '-g' setenv CXXCFLAGS '-I/usr/local/include -I/usr/X11R6/include -c' setenv CXXLFLAGS '-L/usr/local/lib -L/usr/X11R6/lib' # Libraries for GL/GLUT/Inventor Development setenv LIBGL '-lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm' setenv LIBINVENTOR '-lInventorXt -lInventor -lGL -lXm -lX11 -lm' # Libraries for Xforms/GL Development setenv LIBXFORMS '-lforms -lGL -lXext -lX11 -lm'Use the following assignments to enable optimization:
setenv F77FLAGS '-O6' setenv CCFLAGS '-O6' setenv CXXFLAGS '-O6'
setenv F77 'f77' setenv F77FLAGS '-g' #setenv F77FLAGS '-O6' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/lib' setenv LIBBLAS '-lblas' setenv CC 'cc' setenv CCFLAGS '-g' #setenv CCFLAGS '-O6' setenv CCCFLAGS '-I/usr/local/include -I/usr/X11R6/include -c' setenv CCLFLAGS '-L/usr/local/lib -L/usr/X11R6/lib'
setenv F77 'f77' setenv F77FLAGS '-g' #setenv F77FLAGS '-O' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/lib -L/home5/matt/lib' setenv LIBBLAS '-lblas'