12345678910111213141516171819202122 |
- CC=gcc
- # XMPCC=xmpcc
- XMPCC=gcc
- LIBS=-L/usr/lib -lmpi
- INCL=-I /usr/lib/openmpi/include
- OBJP=elementary.o
- all: elementary
- elementary.o: elementary.c
- $(XMPCC) -c elementary.c
- elementary: $(OBJP)
- $(XMPCC) -o elementary $(OBJP) $(LIBS)
- run: elementary
- mpirun --mca orte_base_help_agregate 0 -host mpihead,mpinode1 -n 2 /usr/local/var/mpishare/glcs_slurm/step3/elementary
-
- clean:
- rm *.o elementary checkpoint_file.txt.* /tmp/output.txt
|