Page 1 of 1

compiling vasp.5.2 on BlueGene/P

Posted: Mon Jul 05, 2010 8:51 am
by nkwem
Hi all,

I get the following error when compilling vasp5.2 on BlueGene/P:
1501-510 Compilation successful for file main.f.
scala.o: In function `recon_slice':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:1141: undefined reference to `blacs_gridinfo'
scala.o: In function `distri_slice':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:1097: undefined reference to `blacs_gridinfo'
scala.o: In function `init_scala':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:632: undefined reference to `blacs_gridinfo'
scala.o: In function `bg_change_diagonale':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:953: undefined reference to `blacs_gridinfo'
scala.o: In function `bg_init_scala':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:879: undefined reference to `blacs_gridinfo'
scala.o: In function `procmap':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:763: undefined reference to `blacs_get'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:765: undefined reference to `blacs_gridinit'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:770: undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:771: undefined reference to `blacs_pnum'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:803: undefined reference to `blacs_gridexit'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:808: undefined reference to `blacs_get'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:809: undefined reference to `blacs_gridmap'
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:753: undefined reference to `blacs_gridexit'
scala.o: In function `recon_single':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:540: undefined reference to `blacs_gridinfo'
scala.o: In function `recon':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:503: undefined reference to `blacs_gridinfo'
scala.o: In function `distri_single':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:462: undefined reference to `blacs_gridinfo'
scala.o: In function `distri':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:420: undefined reference to `blacs_gridinfo'
scala.o: In function `ppotrf_trtri':
/CHPC/home/nmonama/Tom/vasp.5.2/scala.f:155: undefined reference to `blacs_gridinfo'
bse.o:/CHPC/home/nmonama/Tom/vasp.5.2/bse.f:1014: more undefined references to `blacs_gridinfo' follow
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzheevx.o): In function `pzheevx':
pzheevx.f:(.text+0x374): undefined reference to `dgebs2d'
pzheevx.f:(.text+0x3e0): undefined reference to `dgebr2d'
pzheevx.f:(.text+0x1104): undefined reference to `igamn2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzhentrd.o): In function `pzhentrd':
pzhentrd.f:(.text+0xe0): undefined reference to `blacs_gridinfo'
pzhentrd.f:(.text+0x314): undefined reference to `igamn2d'
pzhentrd.f:(.text+0x39c): undefined reference to `igamn2d'
pzhentrd.f:(.text+0x448): undefined reference to `blacs_get'
pzhentrd.f:(.text+0x47c): undefined reference to `blacs_gridinit'
pzhentrd.f:(.text+0x494): undefined reference to `blacs_gridinfo'
pzhentrd.f:(.text+0x540): undefined reference to `pztrmr2d'
pzhentrd.f:(.text+0x700): undefined reference to `pztrmr2d'
pzhentrd.f:(.text+0x7e0): undefined reference to `blacs_gridexit'
pzhentrd.f:(.text+0x890): undefined reference to `pb_topget'
pzhentrd.f:(.text+0x8e0): undefined reference to `pb_topget'
pzhentrd.f:(.text+0x924): undefined reference to `pb_topset'
pzhentrd.f:(.text+0x964): undefined reference to `pb_topset'
pzhentrd.f:(.text+0xbbc): undefined reference to `pzher2k'
pzhentrd.f:(.text+0xdb8): undefined reference to `pb_topset'
pzhentrd.f:(.text+0xdfc): undefined reference to `pb_topset'
pzhentrd.f:(.text+0xff8): undefined reference to `pzher2k'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzhettrd.o): In function `pzhettrd':
pzhettrd.f:(.text+0x10c): undefined reference to `blacs_gridinfo'
pzhettrd.f:(.text+0x10d4): undefined reference to `dgsum2d'
pzhettrd.f:(.text+0x14a4): undefined reference to `zgebs2d'
pzhettrd.f:(.text+0x1504): undefined reference to `zgebr2d'
pzhettrd.f:(.text+0x1750): undefined reference to `zgesd2d'
pzhettrd.f:(.text+0x17a0): undefined reference to `zgerv2d'
pzhettrd.f:(.text+0x2064): undefined reference to `zgsum2d'
pzhettrd.f:(.text+0x2204): undefined reference to `zgsum2d'
pzhettrd.f:(.text+0x2408): undefined reference to `zgesd2d'
pzhettrd.f:(.text+0x2430): undefined reference to `zgerv2d'
pzhettrd.f:(.text+0x24fc): undefined reference to `zgsum2d'
pzhettrd.f:(.text+0x26e0): undefined reference to `zgsum2d'
pzhettrd.f:(.text+0x2cf0): undefined reference to `dgebs2d'
pzhettrd.f:(.text+0x2e20): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzhetd2.o): In function `pzhetd2':
pzhetd2.f:(.text+0xd0): undefined reference to `blacs_gridinfo'
pzhetd2.f:(.text+0x288): undefined reference to `blacs_abort'
pzhetd2.f:(.text+0x7c8): undefined reference to `zgebs2d'
pzhetd2.f:(.text+0x8dc): undefined reference to `zgebr2d'
pzhetd2.f:(.text+0xedc): undefined reference to `zgebs2d'
pzhetd2.f:(.text+0xf44): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlanhe.o): In function `pzlanhe':
pzlanhe.f:(.text+0xb4): undefined reference to `blacs_gridinfo'
pzlanhe.f:(.text+0x310): undefined reference to `dgebs2d'
pzlanhe.f:(.text+0x3d4): undefined reference to `dgebr2d'
pzlanhe.f:(.text+0xcf4): undefined reference to `dgamx2d'
pzlanhe.f:(.text+0x25a8): undefined reference to `dgsum2d'
pzlanhe.f:(.text+0x2644): undefined reference to `dgsum2d'
pzlanhe.f:(.text+0x27d4): undefined reference to `dgamx2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlascl.o): In function `pzlascl':
pzlascl.f:(.text+0xbc): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlatrd.o): In function `pzlatrd':
pzlatrd.f:(.text+0xd4): undefined reference to `blacs_gridinfo'
pzlatrd.f:(.text+0x514): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x63c): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x890): undefined reference to `pzhemv'
pzlatrd.f:(.text+0x984): undefined reference to `pzgemv'
pzlatrd.f:(.text+0xa48): undefined reference to `pzgemv'
pzlatrd.f:(.text+0xb0c): undefined reference to `pzgemv'
pzlatrd.f:(.text+0xbcc): undefined reference to `pzgemv'
pzlatrd.f:(.text+0xc14): undefined reference to `pzscal'
pzlatrd.f:(.text+0xc70): undefined reference to `pzdotc'
pzlatrd.f:(.text+0xd14): undefined reference to `pzaxpy'
pzlatrd.f:(.text+0xe0c): undefined reference to `dgebs2d'
pzlatrd.f:(.text+0xef0): undefined reference to `dgebr2d'
pzlatrd.f:(.text+0x11ec): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x12fc): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x157c): undefined reference to `pzhemv'
pzlatrd.f:(.text+0x1660): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x1744): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x1818): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x18f4): undefined reference to `pzgemv'
pzlatrd.f:(.text+0x194c): undefined reference to `pzscal'
pzlatrd.f:(.text+0x19c8): undefined reference to `pzdotc'
pzlatrd.f:(.text+0x1a84): undefined reference to `pzaxpy'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzpotrf.o): In function `pzpotrf':
pzpotrf.f:(.text+0xc4): undefined reference to `blacs_gridinfo'
pzpotrf.f:(.text+0x238): undefined reference to `pb_topget'
pzpotrf.f:(.text+0x274): undefined reference to `pb_topget'
pzpotrf.f:(.text+0x2b4): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x2f4): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x430): undefined reference to `pztrsm'
pzpotrf.f:(.text+0x4c8): undefined reference to `pzherk'
pzpotrf.f:(.text+0x640): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x674): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x78c): undefined reference to `pztrsm'
pzpotrf.f:(.text+0x828): undefined reference to `pzherk'
pzpotrf.f:(.text+0x874): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x8ac): undefined reference to `pb_topset'
pzpotrf.f:(.text+0x9ec): undefined reference to `pztrsm'
pzpotrf.f:(.text+0xa88): undefined reference to `pzherk'
pzpotrf.f:(.text+0xc20): undefined reference to `pztrsm'
pzpotrf.f:(.text+0xcb8): undefined reference to `pzherk'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzstein.o): In function `pzstein':
pzstein.f:(.text+0xa4): undefined reference to `blacs_gridinfo'
pzstein.f:(.text+0xfa0): undefined reference to `igebs2d'
pzstein.f:(.text+0x1018): undefined reference to `igebr2d'
pzstein.f:(.text+0x1070): undefined reference to `igebr2d'
pzstein.f:(.text+0x15f8): undefined reference to `igebs2d'
pzstein.f:(.text+0x18c8): undefined reference to `igamn2d'
pzstein.f:(.text+0x1980): undefined reference to `dgebs2d'
pzstein.f:(.text+0x19e8): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pztrtri.o): In function `pztrtri':
pztrtri.f:(.text+0xc0): undefined reference to `blacs_gridinfo'
pztrtri.f:(.text+0x400): undefined reference to `pztrmm'
pztrtri.f:(.text+0x49c): undefined reference to `pztrsm'
pztrtri.f:(.text+0x67c): undefined reference to `pztrmm'
pztrtri.f:(.text+0x71c): undefined reference to `pztrsm'
pztrtri.f:(.text+0x868): undefined reference to `pztrmm'
pztrtri.f:(.text+0x8e4): undefined reference to `pztrsm'
pztrtri.f:(.text+0xe48): undefined reference to `igamx2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzunmtr.o): In function `pzunmtr':
pzunmtr.f:(.text+0xb0): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlaevswp.o): In function `pzlaevswp':
pzlaevswp.f:(.text+0x9c): undefined reference to `blacs_gridinfo'
pzlaevswp.f:(.text+0x470): undefined reference to `dgesd2d'
pzlaevswp.f:(.text+0x738): undefined reference to `dgerv2d'
pzlaevswp.f:(.text+0xa0c): undefined reference to `dgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlamr1d.o): In function `pzlamr1d':
pzlamr1d.f:(.text+0x14c): undefined reference to `pzgemr2d'
pzlamr1d.f:(.text+0x164): undefined reference to `blacs_gridinfo'
pzlamr1d.f:(.text+0x1c8): undefined reference to `zgebs2d'
pzlamr1d.f:(.text+0x250): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(chk1mat.o): In function `chk1mat':
chk1mat.f:(.text+0x104): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pchkxmat.o): In function `globchk':
(.text+0xa5c): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pchkxmat.o): In function `globchk':
(.text+0xad4): undefined reference to `igebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pchkxmat.o): In function `globchk':
(.text+0xbd0): undefined reference to `igamn2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pchkxmat.o): In function `globchk':
(.text+0xc58): undefined reference to `igebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pchkxmat.o): In function `globchk':
(.text+0xcd0): undefined reference to `igamn2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdcol2row.o): In function `pdcol2row':
pdcol2row.f:(.text+0x8c): undefined reference to `blacs_gridinfo'
pdcol2row.f:(.text+0x1bc): undefined reference to `dgerv2d'
pdcol2row.f:(.text+0x280): undefined reference to `dgesd2d'
pdcol2row.f:(.text+0x554): undefined reference to `dgerv2d'
pdcol2row.f:(.text+0x81c): undefined reference to `dgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0xa4): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0x230): undefined reference to `dgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0x2b8): undefined reference to `dgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0x32c): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0x3a0): undefined reference to `dgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdtreecomb.o): In function `pdtreecomb':
(.text+0x4a8): undefined reference to `dgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdelset.o): In function `pdelset':
pdelset.f:(.text+0x4c): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzelset.o): In function `pzelset':
pzelset.f:(.text+0x4c): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzelget.o): In function `pzelget':
pzelget.f:(.text+0x68): undefined reference to `blacs_gridinfo'
pzelget.f:(.text+0x15c): undefined reference to `zgebs2d'
pzelget.f:(.text+0x1c4): undefined reference to `zgebr2d'
pzelget.f:(.text+0x294): undefined reference to `zgebs2d'
pzelget.f:(.text+0x2f8): undefined reference to `zgebr2d'
pzelget.f:(.text+0x3c0): undefined reference to `zgebs2d'
pzelget.f:(.text+0x434): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pjlaenv.o): In function `pjlaenv':
pjlaenv.f:(.text+0x200): undefined reference to `igamx2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdlamr1d.o): In function `pdlamr1d':
pdlamr1d.f:(.text+0x14c): undefined reference to `pdgemr2d'
pdlamr1d.f:(.text+0x164): undefined reference to `blacs_gridinfo'
pdlamr1d.f:(.text+0x1c8): undefined reference to `dgebs2d'
pdlamr1d.f:(.text+0x250): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdlamch.o): In function `pdlamch':
pdlamch.f:(.text+0x154): undefined reference to `dgamx2d'
pdlamch.f:(.text+0x224): undefined reference to `dgamn2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdlared1d.o): In function `pdlared1d':
pdlared1d.f:(.text+0x6c): undefined reference to `blacs_gridinfo'
pdlared1d.f:(.text+0x12c): undefined reference to `dgebs2d'
pdlared1d.f:(.text+0x190): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0xc8): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x330): undefined reference to `dgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x398): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x504): undefined reference to `blacs_pnum'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x578): undefined reference to `blacs_get'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x590): undefined reference to `blacs_gridmap'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x5a8): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0xc40): undefined reference to `pdlasnbt'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0xe34): undefined reference to `igsum2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x104c): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x105c): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x10a0): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x10b0): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1208): undefined reference to `igsum2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x12c4): undefined reference to `igebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1d0c): undefined reference to `blacs_freebuff'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1d14): undefined reference to `blacs_gridexit'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1de8): undefined reference to `igebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1e28): undefined reference to `dgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1e68): undefined reference to `igebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1f50): undefined reference to `igebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x1fb8): undefined reference to `igebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x2014): undefined reference to `dgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x207c): undefined reference to `igebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x229c): undefined reference to `dgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x22d0): undefined reference to `igesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x232c): undefined reference to `dgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x2360): undefined reference to `igerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x26fc): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x2714): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x2778): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdstebz':
(.text+0x2790): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x2e10): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x2e1c): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x3210): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x3228): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x35a8): undefined reference to `pdlaiectb'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pdstebz.o): In function `pdlaebz':
(.text+0x35c0): undefined reference to `pdlaiectl'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlacgv.o): In function `pzlacgv':
pzlacgv.f:(.text+0x74): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlarfg.o): In function `pzlarfg':
pzlarfg.f:(.text+0x98): undefined reference to `blacs_gridinfo'
pzlarfg.f:(.text+0x188): undefined reference to `zgebs2d'
pzlarfg.f:(.text+0x1d0): undefined reference to `pdznrm2'
pzlarfg.f:(.text+0x298): undefined reference to `pzdscal'
pzlarfg.f:(.text+0x2ec): undefined reference to `pzdscal'
pzlarfg.f:(.text+0x364): undefined reference to `pdznrm2'
pzlarfg.f:(.text+0x444): undefined reference to `pzscal'
pzlarfg.f:(.text+0x560): undefined reference to `pzscal'
pzlarfg.f:(.text+0x690): undefined reference to `zgebr2d'
pzlarfg.f:(.text+0x78c): undefined reference to `zgebs2d'
pzlarfg.f:(.text+0x804): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzpotf2.o): In function `pzpotf2':
pzpotf2.f:(.text+0xc8): undefined reference to `blacs_gridinfo'
pzpotf2.f:(.text+0x218): undefined reference to `blacs_abort'
pzpotf2.f:(.text+0x348): undefined reference to `pb_topget'
pzpotf2.f:(.text+0x384): undefined reference to `pb_topget'
pzpotf2.f:(.text+0x59c): undefined reference to `igebs2d'
pzpotf2.f:(.text+0x5f0): undefined reference to `igebr2d'
pzpotf2.f:(.text+0x630): undefined reference to `igebs2d'
pzpotf2.f:(.text+0x824): undefined reference to `igebr2d'
pzpotf2.f:(.text+0xb74): undefined reference to `igebs2d'
pzpotf2.f:(.text+0xbc4): undefined reference to `igebr2d'
pzpotf2.f:(.text+0xc10): undefined reference to `igebs2d'
pzpotf2.f:(.text+0xc64): undefined reference to `igebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pztrti2.o): In function `pztrti2':
pztrti2.f:(.text+0x9c): undefined reference to `blacs_gridinfo'
pztrti2.f:(.text+0x1c0): undefined reference to `blacs_abort'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzunmql.o): In function `pzunmql':
pzunmql.f:(.text+0xbc): undefined reference to `blacs_gridinfo'
pzunmql.f:(.text+0x410): undefined reference to `pb_topget'
pzunmql.f:(.text+0x448): undefined reference to `pb_topget'
pzunmql.f:(.text+0x544): undefined reference to `pb_topset'
pzunmql.f:(.text+0x590): undefined reference to `pb_topset'
pzunmql.f:(.text+0x5cc): undefined reference to `pb_topset'
pzunmql.f:(.text+0x960): undefined reference to `pb_topset'
pzunmql.f:(.text+0x990): undefined reference to `pb_topset'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzunmqr.o): In function `pzunmqr':
pzunmqr.f:(.text+0xb8): undefined reference to `blacs_gridinfo'
pzunmqr.f:(.text+0x418): undefined reference to `pb_topget'
pzunmqr.f:(.text+0x450): undefined reference to `pb_topget'
pzunmqr.f:(.text+0x554): undefined reference to `pb_topset'
pzunmqr.f:(.text+0x5a0): undefined reference to `pb_topset'
pzunmqr.f:(.text+0x5dc): undefined reference to `pb_topset'
pzunmqr.f:(.text+0x8ec): undefined reference to `pb_topset'
pzunmqr.f:(.text+0x91c): undefined reference to `pb_topset'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlarfb.o): In function `pzlarfb':
pzlarfb.f:(.text+0xd4): undefined reference to `blacs_gridinfo'
pzlarfb.f:(.text+0x464): undefined reference to `pb_topget'
pzlarfb.f:(.text+0x4b8): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0x520): undefined reference to `ztrbs2d'
pzlarfb.f:(.text+0x5ac): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x61c): undefined reference to `ztrbr2d'
pzlarfb.f:(.text+0x90c): undefined reference to `zgsum2d'
pzlarfb.f:(.text+0x9c8): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0xb14): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x131c): undefined reference to `zgsum2d'
pzlarfb.f:(.text+0x1398): undefined reference to `ztrbs2d'
pzlarfb.f:(.text+0x1440): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0x148c): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x15d8): undefined reference to `ztrbr2d'
pzlarfb.f:(.text+0x1910): undefined reference to `pb_topget'
pzlarfb.f:(.text+0x1960): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0x19c8): undefined reference to `ztrbs2d'
pzlarfb.f:(.text+0x1a4c): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x1ab8): undefined reference to `ztrbr2d'
pzlarfb.f:(.text+0x1db0): undefined reference to `zgsum2d'
pzlarfb.f:(.text+0x1e74): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0x1fa4): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x27c4): undefined reference to `zgsum2d'
pzlarfb.f:(.text+0x2848): undefined reference to `ztrbs2d'
pzlarfb.f:(.text+0x28ec): undefined reference to `zgebs2d'
pzlarfb.f:(.text+0x2930): undefined reference to `zgebr2d'
pzlarfb.f:(.text+0x2a98): undefined reference to `ztrbr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlarft.o): In function `pzlarft':
pzlarft.f:(.text+0xc8): undefined reference to `blacs_gridinfo'
pzlarft.f:(.text+0x49c): undefined reference to `zgsum2d'
pzlarft.f:(.text+0xa28): undefined reference to `zgsum2d'
pzlarft.f:(.text+0xf64): undefined reference to `zgsum2d'
pzlarft.f:(.text+0x151c): undefined reference to `zgsum2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzunm2l.o): In function `pzunm2l':
pzunm2l.f:(.text+0xc8): undefined reference to `blacs_gridinfo'
pzunm2l.f:(.text+0x43c): undefined reference to `blacs_abort'
pzunm2l.f:(.text+0x734): undefined reference to `zgebr2d'
pzunm2l.f:(.text+0x904): undefined reference to `zgebs2d'
pzunm2l.f:(.text+0xa78): undefined reference to `zgesd2d'
pzunm2l.f:(.text+0xac8): undefined reference to `zgerv2d'
pzunm2l.f:(.text+0xb30): undefined reference to `pb_topget'
pzunm2l.f:(.text+0xb6c): undefined reference to `pb_topget'
pzunm2l.f:(.text+0xc1c): undefined reference to `pb_topset'
pzunm2l.f:(.text+0xc74): undefined reference to `pb_topset'
pzunm2l.f:(.text+0xcb0): undefined reference to `pb_topset'
pzunm2l.f:(.text+0xec8): undefined reference to `pb_topset'
pzunm2l.f:(.text+0xefc): undefined reference to `pb_topset'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzunm2r.o): In function `pzunm2r':
pzunm2r.f:(.text+0xc8): undefined reference to `blacs_gridinfo'
pzunm2r.f:(.text+0x43c): undefined reference to `blacs_abort'
pzunm2r.f:(.text+0x734): undefined reference to `zgebr2d'
pzunm2r.f:(.text+0x904): undefined reference to `zgebs2d'
pzunm2r.f:(.text+0xa78): undefined reference to `zgesd2d'
pzunm2r.f:(.text+0xac8): undefined reference to `zgerv2d'
pzunm2r.f:(.text+0xb30): undefined reference to `pb_topget'
pzunm2r.f:(.text+0xb6c): undefined reference to `pb_topget'
pzunm2r.f:(.text+0xc1c): undefined reference to `pb_topset'
pzunm2r.f:(.text+0xc6c): undefined reference to `pb_topset'
pzunm2r.f:(.text+0xca8): undefined reference to `pb_topset'
pzunm2r.f:(.text+0xecc): undefined reference to `pb_topset'
pzunm2r.f:(.text+0xf00): undefined reference to `pb_topset'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzelset2.o): In function `pzelset2':
pzelset2.f:(.text+0x54): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xe0): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x730): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x7b0): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x808): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x8c0): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x91c): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x9b4): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xc70): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xd18): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xde0): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xeb8): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0xfa8): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1028): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x113c): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1604): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1684): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x16d8): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1770): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x19cc): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1a74): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1b3c): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1c18): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1d0c): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1d8c): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztran.o): In function `pbztran':
(.text+0x1ea0): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrget.o): In function `pbztrget':
pbztrget.f:(.text+0x1fc): undefined reference to `zgerv2d'
pbztrget.f:(.text+0x258): undefined reference to `zgesd2d'
pbztrget.f:(.text+0x298): undefined reference to `zgesd2d'
pbztrget.f:(.text+0x4ec): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlarf.o): In function `pzlarf':
pzlarf.f:(.text+0xcc): undefined reference to `blacs_gridinfo'
pzlarf.f:(.text+0x4b4): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x65c): undefined reference to `zgerv2d'
pzlarf.f:(.text+0x7bc): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x954): undefined reference to `zgesd2d'
pzlarf.f:(.text+0xaf8): undefined reference to `zgebs2d'
pzlarf.f:(.text+0xc38): undefined reference to `zgsum2d'
pzlarf.f:(.text+0xe34): undefined reference to `zgebr2d'
pzlarf.f:(.text+0xff0): undefined reference to `zgebs2d'
pzlarf.f:(.text+0x106c): undefined reference to `zgebr2d'
pzlarf.f:(.text+0x1100): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x1284): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x13b0): undefined reference to `pb_topget'
pzlarf.f:(.text+0x1470): undefined reference to `zgebs2d'
pzlarf.f:(.text+0x14f4): undefined reference to `zgebr2d'
pzlarf.f:(.text+0x15ac): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x171c): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x19e8): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x1b60): undefined reference to `zgerv2d'
pzlarf.f:(.text+0x1cbc): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x1e54): undefined reference to `zgesd2d'
pzlarf.f:(.text+0x1ffc): undefined reference to `zgebs2d'
pzlarf.f:(.text+0x2140): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x2330): undefined reference to `zgebr2d'
pzlarf.f:(.text+0x2388): undefined reference to `pb_topget'
pzlarf.f:(.text+0x243c): undefined reference to `zgebs2d'
pzlarf.f:(.text+0x24b0): undefined reference to `zgebr2d'
pzlarf.f:(.text+0x2600): undefined reference to `zgsum2d'
pzlarf.f:(.text+0x28d4): undefined reference to `zgebs2d'
pzlarf.f:(.text+0x2958): undefined reference to `zgebr2d'
pzlarf.f:(.text+0x2a94): undefined reference to `zgsum2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pzlarfc.o): In function `pzlarfc':
pzlarfc.f:(.text+0xcc): undefined reference to `blacs_gridinfo'
pzlarfc.f:(.text+0x4b4): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x658): undefined reference to `zgerv2d'
pzlarfc.f:(.text+0x7b4): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x94c): undefined reference to `zgesd2d'
pzlarfc.f:(.text+0xae8): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0xc30): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0xe24): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0xfe4): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0x1064): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0x11a4): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x131c): undefined reference to `pb_topget'
pzlarfc.f:(.text+0x13d8): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0x1454): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0x15b4): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x1864): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x19b0): undefined reference to `zgerv2d'
pzlarfc.f:(.text+0x1b08): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x1ca0): undefined reference to `zgesd2d'
pzlarfc.f:(.text+0x1e40): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0x1f8c): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x2174): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0x21d8): undefined reference to `pb_topget'
pzlarfc.f:(.text+0x2280): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0x23d8): undefined reference to `zgsum2d'
pzlarfc.f:(.text+0x2594): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0x26fc): undefined reference to `zgebs2d'
pzlarfc.f:(.text+0x2784): undefined reference to `zgebr2d'
pzlarfc.f:(.text+0x28c8): undefined reference to `zgsum2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0xbc): undefined reference to `blacs_gridinfo'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x77c): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x80c): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x86c): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x934): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x9a8): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0xa3c): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0xd18): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0xdd4): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0xea4): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x106c): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x10b0): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x11b8): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x128c): undefined reference to `zgebr2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x17a0): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1830): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x189c): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1930): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1bac): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1c68): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1d38): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1f00): undefined reference to `zgesd2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x1f44): undefined reference to `zgerv2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x204c): undefined reference to `zgebs2d'
/CHPC/home/nmonama/scalapack-1.8.0/libscalapack.a(pbztrnv.o): In function `pbztrnv':
(.text+0x2120): undefined reference to `zgebr2d'
make: *** [vasp.bgp] Error 1

My Makefile is as follows:
.SUFFIXES: .inc .f .F
#-----------------------------------------------------------------------
# Makefile for RS 6000/ SP2, SP3 and possibly SP4
# you might also try the makefile.hlrn supplied by Bernd Kallies <kallies@zib.de>
#
#
# Attention:
# =======================
# present default optimisation is -O3, but you might try -O4 as well
#
# several files are optimized less aggressive (see bottom of the makefile),
# since agressive optimisation of those files caused VASP to bomb
# in one or the other compiler version
# because it was impossible to keep track of which file is not
# properly compiled by which version, all files that
# are problematic in one or the other version are compiled
# with lower optimisation
#
# ZHEEVX was not working properly with some version
# if you have problems remove
# #define USE_ZHEEVX
# from subrot.F, davidson.F and wavepre_noio.F
#
#-----------------------------------------------------------------------

# all CPP processed fortran files have the extension .f
SUFFIX=.f

#-----------------------------------------------------------------------
# fortran compiler and linker
#-----------------------------------------------------------------------
FC=mpixlf90_r -g -qfree=f90
FCL=$(FC)

#-----------------------------------------------------------------------
# C-preprocessor define any of the flags given below
# MPI generate parallel version
# NGZhalf charge density reduced in Z direction
# wNGZhalf gamma point only reduced in Z direction
# CACHE_SIZE 5001 for SP3 and Power 3
# 32768 for 550,590,3CT
# 8001 595/397 quad word systems
# scaLAPACK use scaLAPACK
#
# IBM
# use_allreduce : force mpi_allreduce usage by block of MPI_BLOCK
#-----------------------------------------------------------------------
# Add -DwNGZhalf for gamma point only
CPP = /usr/bin/cpp -P -C -DHOST=\"BlueGene\" -DMPI -DNGZhalf \
-Duse_collective -Davoidalloc -DscaLAPACK \
-DCACHE_SIZE=4000 -DMPI_BLOCK=50000 $*.F >$*.f

#-----------------------------------------------------------------------
# general fortran flags, none required
#-----------------------------------------------------------------------

#FFLAGS = -O3 -qstrict -qarch=450d -qtune=450 -qmaxmem=-1
FFLAGS = -qarch=450d -qtune=450 -qmaxmem=-1
#PK 2009/6/3 No opt Works
#FFLAGS = -O0 -g -qstrict -qarch=450d -qtune=450 -qmaxmem=-1

#-----------------------------------------------------------------------
# optimization:
# optimise for the machine on which the code is compiled
#-----------------------------------------------------------------------

#OFLAG = -O3 -qstrict -qarch=450d -qtune=450 -qmaxmem=-1
OFLAG = -O3 -qstrict
#PK 2009/6/3 No opt works
#OFLAG = -O0 -g -qstrict -qarch=450d -qtune=450 -qmaxmem=-1
OFLAG_HIGH = $(OFLAG)
OBJ_HIGH = none
OBJ_NOOPT = none
DEBUG = -g
INCS = -I/bgsys/ibm_essl/sles10/prod/opt/ibmmath/include
INLINE = $(OFLAG)

#-----------------------------------------------------------------------
# maybe one need to set an include path (usually not required)
#-----------------------------------------------------------------------

#-----------------------------------------------------------------------
# options for linking
# the following option increases the size of the data frame
# the default makefile does not include support for scaLAPACK
# since problems with scaLAPACK were reported
#
#-----------------------------------------------------------------------



LIBSCA = /CHPC/home/nmonama/scalapack-1.8.0
LIBBLACS = /CHPC/home/nmonama/BLACS/LIB
LIBLOC = /CHPC/home/nmonama/lapack-3.2.1
# LIBTOOLS = ../lib_bgp
SCALAPACK = -L$(LIBSCA) -lscalapack -L$(LIBBLACS) -lblacsF77init_MPI-BGP-0 -lblacs_MPI-BGP-0

#ESSL = ../vasp.5.lib/dsygv.o ../vasp.5.lib/dgegv.o -L/opt/ibmmath/essl/4.4/lib -lesslbg
#ESSL = ../vasp.5.lib/dsygv.o ../vasp.5.lib/dgegv.o -L/opt/ibmmath/essl/4.4/lib -lesslbg
#ESSL = -L/soft/apps/ESSL-4.4/lib -lesslbg
ESSL = -L/bgsys/ibm_essl/sles10/prod/opt/ibmmath/lib -lesslbg

#ESSL = ../vasp.4.lib/dsygv.o ../vasp.4.lib/dgegv.o -L/opt/ibmmath/essl/4.3/lib -lesslbg /opt/ibmcmp/xlmass/bg/4.4/bglib/libmass.a /opt/ibmcmp/xlmass/bg/4.4/bglib/libmassv.a
LIB = -L../vasp.5.lib -ldmy $(SCALAPACK) -L$(LIBLOC) -llapack_bgp $(ESSL)

#-----------------------------------------------------------------------
# specify 3d-fft to be used with VASP
#-----------------------------------------------------------------------
FFT3D = fftmpi.o fftmpi_map.o fft3dfurth.o fft3dlib.o

#-----------------------------------------------------------------------
# general rules and compile lines
#-----------------------------------------------------------------------
BASIC= symmetry.o symlib.o lattlib.o random.o

SOURCE= base.o mpi.o smart_allocate.o xml.o \
constant.o jacobi.o main_mpi.o scala.o \
asa.o lattice.o poscar.o ini.o xclib.o xclib_grad.o \
radial.o pseudo.o mgrid.o gridq.o ebs.o \
mkpoints.o wave.o wave_mpi.o wave_high.o \
$(BASIC) nonl.o nonlr.o nonl_high.o dfast.o choleski2.o \
mix.o hamil.o xcgrad.o xcspin.o potex1.o potex2.o \
metagga.o constrmag.o cl_shift.o relativistic.o LDApU.o \
paw_base.o egrad.o pawsym.o pawfock.o pawlhf.o paw.o \
mkpoints_full.o charge.o dipol.o pot.o \
dos.o elf.o tet.o tetweight.o hamil_rot.o \
steep.o chain.o dyna.o sphpro.o us.o core_rel.o \
aedens.o wavpre.o wavpre_noio.o broyden.o \
dynbr.o rmm-diis.o reader.o writer.o tutor.o xml_writer.o \
brent.o stufak.o fileio.o opergrid.o stepver.o \
chgloc.o fast_aug.o fock.o mkpoints_change.o sym_grad.o \
mymath.o internals.o dimer_heyden.o dvvtrajectory.o vdwforcefield.o \
hamil_high.o nmr.o force.o \
pead.o subrot.o subrot_scf.o pwlhf.o gw_model.o optreal.o davidson.o \
electron.o rot.o electron_all.o shm.o pardens.o paircorrection.o \
optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o \
hamil_lr.o rmm-diis_lr.o subrot_cluster.o subrot_lr.o \
lr_helper.o hamil_lrf.o elinear_response.o ilinear_response.o \
linear_optics.o linear_response.o \
setlocalpp.o wannier.o electron_OEP.o electron_lhf.o twoelectron4o.o \
ratpol.o screened_2e.o wave_cacher.o chi_base.o wpot.o local_field.o \
ump2.o bse.o acfdt.o chi.o sydmat.o

INC=

vasp.bgp: $(SOURCE) $(FFT3D) $(INC) main.o
rm -f vasp.bgp
$(FCL) -o vasp.bgp main.o $(SOURCE) $(FFT3D) $(LIB) $(LINK)
makeparam: $(SOURCE) $(FFT3D) makeparam.o main.F $(INC)
$(FCL) -o makeparam $(LINK) makeparam.o $(SOURCE) $(FFT3D) $(LIB)
zgemmtest: zgemmtest.o base.o random.o $(INC)
$(FCL) -o zgemmtest $(LINK) zgemmtest.o random.o base.o $(LIB)
dgemmtest: dgemmtest.o base.o random.o $(INC)
$(FCL) -o dgemmtest $(LINK) dgemmtest.o random.o base.o $(LIB)
ffttest: base.o smart_allocate.o mpi.o mgrid.o random.o ffttest.o $(FFT3D) $(INC)
$(FCL) -o ffttest $(LINK) ffttest.o mpi.o mgrid.o random.o smart_allocate.o base.o $(FFT3D) $(LIB)
kpoints: $(SOURCE) $(FFT3D) makekpoints.o main.F $(INC)
$(FCL) -o kpoints $(LINK) makekpoints.o $(SOURCE) $(FFT3D) $(LIB)

clean:
-rm -f *.g *.f *.o *.L *.mod ; touch *.F

main.o: main$(SUFFIX)
$(FC) $(FFLAGS)$(DEBUG) $(INCS) -c main$(SUFFIX)
xcgrad.o: xcgrad$(SUFFIX)
$(FC) $(FFLAGS) $(INLINE) $(INCS) -c xcgrad$(SUFFIX)
xcspin.o: xcspin$(SUFFIX)
$(FC) $(FFLAGS) $(INLINE) $(INCS) -c xcspin$(SUFFIX)

makeparam.o: makeparam$(SUFFIX)
$(FC) $(FFLAGS)$(DEBUG) $(INCS) -c makeparam$(SUFFIX)

makeparam$(SUFFIX): makeparam.F main.F
#
# MIND: I do not have a full dependency list for the include
# and MODULES: here are only the minimal basic dependencies
# if one strucuture is changed then touch_dep must be called
# with the corresponding name of the structure
#
base.o: base.inc base.F
mgrid.o: mgrid.inc mgrid.F
constant.o: constant.inc constant.F
lattice.o: lattice.inc lattice.F
setex.o: setexm.inc setex.F
pseudo.o: pseudo.inc pseudo.F
poscar.o: poscar.inc poscar.F
mkpoints.o: mkpoints.inc mkpoints.F
wave.o: wave.inc wave.F
nonl.o: nonl.inc nonl.F
nonlr.o: nonlr.inc nonlr.F

$(OBJ_HIGH):
$(CPP)
$(FC) $(FFLAGS) $(OFLAG_HIGH) $(INCS) -c $*$(SUFFIX)
$(OBJ_NOOPT):
$(CPP)
$(FC) $(FFLAGS) $(INCS) -c $*$(SUFFIX)

fft3dlib_f77.o: fft3dlib_f77.F
$(CPP)
$(F77) $(FFLAGS_F77) -c $*$(SUFFIX)

.F.o:
$(CPP)
$(FC) $(FFLAGS) $(OFLAG) $(INCS) -c $*$(SUFFIX)
.F$(SUFFIX):
$(CPP)
$(SUFFIX).o:
$(FC) $(FFLAGS) $(OFLAG) $(INCS) -c $*$(SUFFIX)

# special rules
#-----------------------------------------------------------------------

radial.o: radial.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O2 -c $*$(SUFFIX)

wave.o: wave.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O2 -c $*$(SUFFIX)

metagga.o: metagga.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O2 -c $*$(SUFFIX)

nonl.o: nonl.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O -c $*$(SUFFIX)

paw.o: paw.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O1 -c $*$(SUFFIX)

pseudo.o: pseudo.F
$(CPP)
$(FC) $(FFLAGS) $(INCS) -O1 -c $*$(SUFFIX)

Regards,

Re: compiling vasp.5.2 on BlueGene/P

Posted: Wed Sep 04, 2024 12:29 pm
by support_vasp

Hi,

We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.

Best wishes,

VASP