[gmx-users] Improving Scaling w/ mpi & gcc v3.2

Anton Feenstra feenstra at chem.vu.nl
Wed Dec 18 16:14:23 CET 2002


Hi again,


After some tryals, I found out that the following program (test.c):
#include <mpi.h>
int main () {
int argc; char **argv; MPI_Init(&argc,&argv);
  ;
  return 0;
}

doesn't compile in one step with:
# cc -L/usr/local/mpich-1.2.4/lib -o test -g -O2 -lmpich -I/usr/local/mpich-1.2.4/include test.c
or in different order:
# cc -o test -g -O2 -I/usr/local/mpich-1.2.4/include -L/usr/local/mpich-1.2.4/lib -lmpich test.c

although it does compile in two steps:
# cc -I/usr/local/mpich-1.2.4/include -c -g -O2 test.c
# cc -L/usr/local/mpich-1.2.4/lib test.o -o test -g -O2 -lmpich

Is this normal behavior? It seems pretty weird to me... :-{
By the way, the test.c comes from the failing test in configure,
as does the command line.


-- 
Groetjes,

Anton
 ________ ___________________________________________________________
|        | Anton Feenstra                                            |
| .      | Dept. of Pharmacochemistry - Vrije Universiteit Amsterdam |
| |----  | De Boelelaan 1083 - 1081 HV Amsterdam - The Netherlands   |
| |----  | Tel: +31 20 44 47608 - Fax: +31 20 44 47610               |
| ' __   | Feenstra at chem.vu.nl - http://www.chem.vu.nl/afdelingen/FAR|
|  /  \  |-----------------------------------------------------------|
| (    ) | Dept. of Biophysical Chemistry - University of Groningen  |
|  \__/  | Nijenborgh 4 - 9747 AG Groningen - The Netherlands        |
|   __   | Tel +31 50 363 4327 - Fax +31 50 363 4800                 |
|  /  \  | K.A.Feenstra at chem.rug.nl - http://md.chem.rug.nl/~anton   |
| (    ) |-----------------------------------------------------------|
|  \__/  | "Three Little Fonzies" (Pulp Fiction)                     |
|________|___________________________________________________________|
_______________________________________________
gmx-users mailing list
gmx-users at gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to gmx-users-request at gromacs.org.



More information about the gromacs.org_gmx-users mailing list