Intalling 0.9.0 under IRIX64

Reiner Vogelsang reiner at sgi.com
Fri Sep 5 07:35:57 CDT 2003


Dear  colleagues,
today I tried to install the latest version of pnetcdf under Irix64.

I used the following environment settings:


CC=cc -64
CXX=CC -64
FC=f90 -64 -macro_expand
LIBS=-lmpi

With
configure --prefix=/mnt/tp912gl0_1/scratch_fc/reiner/PRISM/par-netcdf
--with-mpi=/usr

I was able to compile the whole library code.

However, while compiling the test cases in fandc I had to add manually
in the Makefile -lmpi  to the individual link steps.
The reason for that is that under Irix no special mpicc/mpif77 compile
and link driver exist.
On simply types f90 -o <exe> *.o -lmpi.

My suggestion  is that configure should also honor the fact that LIBS is
set. It should add
the macro $(LIBS) to the linksteps.

Lat but no least , I have problems compiling cnap.c
I got the following error messages:

cc-1028 cc: ERROR File = ./csnap.c, Line = 168
  The expression used must have a constant value.

    size_t start_3d[3] = { kstart, jstart, istart };
                                           ^

cc-1028 cc: ERROR File = ./csnap.c, Line = 169
  The expression used must have a constant value.

    size_t count_3d[3] = { locsiz_3d[0], locsiz_3d[1], locsiz_3d[2] };

The complains of our compiler are correct from my perspective.
Of course, I can change the array assignment into a sequence of
individual assignments.
However, I just would like to let you know that one should correct this.

Best wishes
    Reiner




--
--------------------------------------------------------------------------------
                                             _
                                           )/___                        _---_
                                         =_/(___)_-__                  (     )
                                        / /\\|/O[]/  \c             O   (   )
Reiner Vogelsang                        \__/ ----'\__/       ..o o O .o  -_-
Senior System Engineer

Silicon Graphics GmbH                   Home Office
Am Hochacker 3
D-85630 Grasbrunn                       52428 Juelich
Germany

Phone   +49-89-46108-0                  +49-2461-939265
Fax     +49-89-46108-222                +49-2461-939266
Mobile  +49-171-3583208
email    reiner at sgi.com






More information about the parallel-netcdf mailing list