atlas 3.8.2; pgi 7.1

I am wondering if a new Tips&Techniques is avaible to compile atlas new release with pgi.
Build has been change and I am unable to make their configure to see pgf90

Here is what I did with 3.8.1 release. Please go though INSTALL.txt because there might be something you need to do with your system depending the OS before configure it.

% cd ATLAS

% mkdir my32build
% cd my32build
% …/configure -C if /usr/pgi/linux86/7.1-6/bin/pgf90 -F if ‘-O2’ -C ic /usr/pgi/linux86/7.1-6/bin/pgcc -F ic ‘-O2’ -b 32
% make

% mkdir my64build
% cd my64build
% …/configure -C if /usr/pgi/linux86-64/7.1-6/bin/pgf90 -F if ‘-O2’ -C ic /usr/pgi/linux86-64/7.1-6/bin/pgcc -F ic ‘-O2’ -b 64
% make


Hongyon

thanks for the hints. I did the configure and the build.
make test (and similarly make time), however , failed.
Someting to worry about before linking in a application?

<.cutted>
/opt/cluster/pgi/linux86-64/7.1-3/bin/pgf90 -O2 -o xsinvtst sinvtst.o
/home/alb/ATLAS/my_build/lib/libtstatlas.a /home/alb/ATLAS/my_build/lib/liblapack.a /home/alb/ATLAS/my_build/lib/libcblas.a /home/alb/ATLAS/my_build/lib/libatlas.a -lpthread -lm
sinvtst.o(.text+0x6e0): In function main': : multiple definition of main’
/opt/cluster/pgi/linux86-64/7.1-3/lib/f90main.o(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol main' changed from 91 in /opt/cluster/pgi/linux86-64/7.1-3/lib/f90main.o to 175 in sinvtst.o /opt/cluster/pgi/linux86-64/7.1-3/lib/f90main.o(.text+0x3c): In function main’:
: undefined reference to `MAIN_’

Hi,

The error comes from compiling and link C program with Fortran compiler. There are 2 ways to fix it.

  1. Use pgcc to compile and link instead of pgf90.
  2. Add -Mnomain if you want to use pgf90 to compile.

Hongyon