C/C++/libga++

From: E. Vesperini <vesperin@einstein.physics.drexel.edu>
Date: Thu Feb 03 2005 - 16:53:16 EST

Hi

You might have noticed that in the makefile of the demo, we used the f77
compiler to link libraries.

This is not necessary anymore (you can use the C or C++ compiler) as we
have rebuilt the GA toolkit to include C/C++ and libga++ support for the
GA libraries. This will also allow you to write C++ codes and to use ga++
(if you want).

1) What you had to do before:

mpicc -I../../include -DLINUX -O2 -funroll-loops -malign-double -c -o
test5.o test5.c

mpicc -I../../include -DLINUX -O2 -funroll-loops -malign-double -c -o
util.o util.c

mpif77 -g -funroll-loops -fomit-frame-pointer -malign-double
-fno-second-underscore -Wno-globals -o testmpi3.x testmpi3.o util.o
  -lglobal -lma -llinalg -larmci -ltcgmsg-mpi -lmpich -lm

2) What you can do now

mpicc -I../../include -DLINUX -O2 -funroll-loops -malign-double -c -o
test5.o test5.c

mpicc -I../../include -DLINUX -O2 -funroll-loops -malign-double -c -o
util.o util.c

mpicc -g -funroll-loops -fomit-frame-pointer -malign-double
-fno-second-underscore -Wno-globals -o testmpi3.x testmpi3.o util.o
  -lglobal -lma -llinalg -larmci -ltcgmsg-mpi -lmpich -lm

Enrico
Received on Thu Feb 3 16:53:16 2005

This archive was generated by hypermail 2.1.8 : Fri Aug 08 2008 - 19:25:03 EDT