make
F77FLAGS
and
CCFLAGS
to enable optimization.
The following assignments are made by default for all users.
# For Fortran setenv F77 'pgf77' setenv F77FLAGS '-g -Msecond_underscore' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/PGI/lib' setenv LIBBLAS '-lblas' # For C setenv CC 'pgcc' setenv CCFLAGS '-g' setenv CCCFLAGS '-I/usr/local/PGI/include -I/usr/X11R6/include -c' setenv CCLFLAGS '-L/usr/local/PGI/lib -L/usr/X11R6/lib' # For C++ setenv CXX 'pgCC' setenv CXXFLAGS '-g' setenv CXXCFLAGS '-I/usr/local/PGI/include -I/usr/X11R6/include -c' setenv CXXLFLAGS '-L/usr/local/PGI/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 '-fast -Msecond_underscore' setenv CCFLAGS '-fast' setenv CXXFLAGS '-fast'
setenv F77 'pgf77' setenv F77FLAGS '-g -Msecond_underscore' #setenv F77FLAGS '-fast -Msecond_underscore' setenv F77CFLAGS '-c' setenv F77LFLAGS '-L/usr/local/PGI/lib' setenv LIBBLAS '-lblas' setenv CC 'pgcc' setenv CCFLAGS '-g' #setenv CCFLAGS '-fast' setenv CCCFLAGS '-I/usr/local/include -I/usr/X11R6/include -c' setenv CCLFLAGS '-L/usr/local/PGI/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/choptuik/lib' setenv LIBBLAS '-lblas'