JUQUEEN - Prace Training Portal
JUQUEEN - Prace Training Portal
JUQUEEN - Prace Training Portal
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Creating static Libraries<br />
Preferred kind of library on BG/Q<br />
bgxlc -c pi.c<br />
bgxlc -c main.c<br />
#<br />
### Create the library<br />
ar rcs libpi.a pi.o<br />
#<br />
### Create the executable program<br />
bgxlc -o pi main.o -L. -lpi<br />
49