¥½¥Õ¥Æ¥Ã¥¯¡¦¥È¥Ã¥×¥Ú¡¼¥¸¤Ø
¥Û¡¼¥à À½ÉÊ ¥»¥­¥å¥ê¥Æ¥£¡¦¥µ¡¼¥Ó¥¹ HPC¥µ¡¼¥Ó¥¹ ¥À¥¦¥ó¥í¡¼¥É ´ë¶È¾ðÊó



PGI ¥³¥ó¥Ñ¥¤¥éÀ½ÉʤιØÆþ¤ò¤´¸¡Æ¤¤ÎÊý¤Ï¡¢¤³¤Á¤é¤«¤é¤ªÌ䤤¹ç¤ï¤»¤¯¤À¤µ¤¤



PGI Workstation 2012
for Mac OS X ÈÇ ¥¤¥ó¥¹¥È¡¼¥ëÊýË¡
¥½¥Õ¥Æ¥Ã¥¯¤Ï¡¢PGI À½ÉʤθøǧÀµµ¬ÂåÍýŹ¤Ç¤¹
PGI Workstation 2012 for Mac OS X

¤³¤³¤Ç¤Ï¡¢PGI Workstation 2012 for Mac OS X ¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¤Ê¤ª¡¢°Ê²¼¤Îºî¶È¤Ï¥·¥¹¥Æ¥à´ÉÍý¼Ô¸¢¸Â¤Ç¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£PGI 2012 ¤Ï¡¢½¾Íè¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Î´·½¬¤Ç¸À¤¦¤È PGI 12.x ("x" ¤Ï¥ê¥Ó¥¸¥ç¥óÈÖ¹æ¡Ë¤ËÁêÅö¤·¤Þ¤¹¡£


STEP 1 : ¥¤¥ó¥¹¥È¡¼¥ëÁ°¤Îα°Õ»ö¹à


¡ü¡¡°ÊÁ°¤ÎPGI 2011(11.x) °ÊÁ°¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¾ì¹ç¤ÎÃí°Õ

PGI 11.x °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¾ì¹ç¤Ï¡¢PGI ¥³¥ó¥Ñ¥¤¥é¤ò¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤Ã¤¿¥Ç¥£¥ì¥¯¥È¥ê (/opt/pgi) ¤ÎÇÛ²¼¤Ë license.dat ¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤ª¤ê¤Þ¤¹¡£¤³¤Î¥é¥¤¥»¥ó¥¹¥Õ¥¡¥¤¥ë¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤òÇ°¤Î¤¿¤á¼è¤Ã¤Æ¤ª¤­¤Þ¤¹¡£¡Ê¥ë¡¼¥È¸¢¸Â¤¬É¬ÍפǤ¹¡Ë

¡Ê¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥êÇÛ²¼¡Ë
¡¡cd /opt/pgi
¡¡cp license.dat license.dat.backup

¼¡¤Ë¡¢¸½ºß¡¢Mac OS X ¾å¤Ç PGI ÍѤΥ饤¥»¥ó¥¹´ÉÍý¥Þ¥Í¡¼¥¸¥ã¤Î¥½¥Õ¥È¥¦¥§¥¢¤¬Æ°ºî¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢¤³¤ì¤òÄä»ß¤µ¤»¤Þ¤¹¡£
¡Ö¥¿¡¼¥ß¥Ê¥ë¡×¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò³«¤­¡¢¥³¥Þ¥ó¥ÉÆþÎϤ·¤Þ¤¹¡£°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¡¢¥ë¡¼¥È¸¢¸Â¤ËÊѹ¹¤·¤Þ¤¹¡£¤½¤Î¸å¡¢FLEXlm ¥Þ¥Í¡¼¥¸¥ã¤ÎÄä»ß¤ò¹Ô¤¤¤Þ¤¹¡£

¡¡% sudo -s
¡¡password : ********** ¡Ê¥ë¡¼¥È¸¢¸Â¤Ë°Ü¹Ô¡Ë
¡¡% cd /Library/StartupItems/PGI
¡¡% ./PGI stop ¡ÊFLEXlm ¥Þ¥Í¡¼¥¸¥ã¤ÎÄä»ß¡Ë


¡ü¡¡Mac OS X ¾å¤Ç¤Î¡¡Xcode ¥½¥Õ¥È¥¦¥§¥¢¤Î»öÁ°³Îǧ

PGI ¥³¥ó¥Ñ¥¤¥é¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÁ°¤Ë¡¢Mac OS X 10.6 °Ê¾å¤Î OS ¾å¤Ë Xcode ¤Î°Ê²¼¤Ë¼¨¤¹¥Ð¡¼¥¸¥ç¥ó¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«¤ò¤´³Îǧ²¼¤µ¤¤¡£PGI ¥³¥ó¥Ñ¥¤¥é¤Ï¡¢Xcode ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÎÃæ¤Ë´Þ¤Þ¤ì¤ë gcc ¥Ñ¥Ã¥±¡¼¥¸¤ò´Þ¤à¥·¥¹¥Æ¥à¥¢¥»¥ó¥Ö¥é¡¢¥ê¥ó¥«¡¢¥·¥¹¥Æ¥à¥é¥¤¥Ö¥é¥êÅù¤Î¥Ä¡¼¥ë¡¦¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤¬Å¬¹ç¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢PGI¥³¥ó¥Ñ¥¤¥é¤Î¥¤¥ó¥¹¥È¡¼¥ë¤¬¼ºÇÔ¤·¤Þ¤¹¡£
¥·¥¹¥Æ¥à¾å¤Ç¤Î Xcode ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î³ÎǧÊýË¡¤Ï¡¢°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£

­¡ Xcode ¤Î»ÈÍÑÊýË¡¤òÍý²ò¤·¤Æ¤¤¤ë¾ì¹ç

  • Xcode ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òµ¯Æ°¤·¤Æ¡¢¥×¥ë¥À¥¦¥ó¥á¥Ë¥å¡¼¾å¤Î ¡ÉXcode ¤Ë¤Ä¤¤¤Æ¡É ¤òÁªÂò¤·¤Þ¤¹¡£¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òµ­¤·¤¿¥¦¥¤¥ó¥É¥¦¤¬¸½¤ì¤Þ¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Ï °Ê²¼¤Îɽ¤Ë¼¨¤¹¤â¤Î¤Ç¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£


­¢ Xcode ¤Î»ÈÍÑÊýË¡¤¬Ê¬¤«¤é¤Ê¤¤¡¢¤¢¤ë¤¤¤Ï¡¢¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«ÉÔÌÀ¤Ê¾ì¹ç

  • ¥¢¥Ã¥×¥ë¥á¥Ë¥å¡¼¤«¤é¡¢¤³¤Î¡ÉMac ¤Ë¤Ä¤¤¤Æ¡É¤òÁªÂò¤·¤Þ¤¹¡£¸½¤ì¤¿¥¦¥¤¥ó¥É¥¦¾å¤Î¡È¾Ü¤·¤¤¾ðÊó¡É¤òÁªÂò¤·¤Þ¤¹¡£
  • ¥¦¥¤¥ó¥É¥¦º¸Â¦¤ÎÁªÂò»è¤Ç¡Ö¥½¥Õ¥È¥¦¥§¥¢¡×¡Ý¡Ö¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡×¤òÁªÂò¤·¤Æ¡¢±¦Â¦¤Ë¸½¤ì¤¿Ã椫¤éXcode ¤òõ¤·¤Þ¤¹¡£¤³¤ì¤Ë¥Ð¡¼¥¸¥ç¥óÈֹ椬µ­¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
  • Mac OS X ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤ê¡¢°Ê²¼¤Î Xcode ¥Ð¡¼¥¸¥ç¥ó¤ò¼ÂÁõ¤·¤Æ²¼¤µ¤¤¡£
Mac OS X ¤Î¥Ð¡¼¥¸¥ç¥ó¤È¤½¤ì¤ËÂбþ¤¹¤ë Xcode ¥Ð¡¼¥¸¥ç¥ó
OS¤Î¥Ð¡¼¥¸¥ç¥ó̾ ɬÍפȤµ¤ì¤ë Xcode ¤Î¥Ð¡¼¥¸¥ç¥ó
Mac OS X 10.6 °Ê¾å (Snow Leopard) Xcode 3.2 °Ê¾å
Mac OS X 10.7 °Ê¾å (Lion) Xcode 4.2 °Ê¾å¿ä¾©


Ŭ¹ç¤¹¤ë Xcode ¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¥¢¥Ã¥×¥ë¼Ò¤Î¥Û¡¼¥à¥Ú¡¼¥¸Åù¤ò³Îǧ¤Î¾å¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤Ê¤ª¡¢PGI 2012 ¥ê¥ê¡¼¥¹¤Ï¡¢Mac OS X 10.5 ¡ÊLeopard) ¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¤Î¤Ç¡¢¤´Ãí°Õ²¼¤µ¤¤¡£


¡ü¡¡PGI Workstation ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î¥Ç¥£¥ì¥¯¥È¥ê¹½Â¤

°Ê²¼¤Î¥Ñ¥¹Ì¾Åù¤Ëɽ¼¨¤µ¤ì¤ë 12.x ¤ÎÉôʬ¤Ï¥½¥Õ¥È¥¦¥§¥¢¤Î¥ê¥Ó¥¸¥ç¥óÈÖ¹æ¤òɽ¤·¤Þ¤¹¡£Î㤨¤Ð¡¢PGI 12.1¤Î¾ì¹ç¤Ï¡¢12.1¤È¤Ê¤ê¤Þ¤¹¡£

  • osx86(32¥Ó¥Ã¥È¡Ë´Ä¶­¤Ç¤Î ¥Ç¥Õ¥©¥ë¥È¡¦¥¤¥ó¥¹¥È¡¼¥ì¡¼¥·¥ç¥ó¡¦¥Ç¥£¥ì¥¯¥È¥ê
    ¡¡¡¡/opt/pgi/osx86/12.x/

  • osx86-64(64¥Ó¥Ã¥È¡Ë´Ä¶­¤Ç¤Î ¥Ç¥Õ¥©¥ë¥È¡¦¥¤¥ó¥¹¥È¡¼¥ì¡¼¥·¥ç¥ó¡¦¥Ç¥£¥ì¥¯¥È¥ê
    ¡¡¡¡/opt/pgi/osx86-64/12.x/¡¡¡¡(64¥Ó¥Ã¥È¥â¡¼¥É¡Ë
    ¡¡¡¡/opt/pgi/osx86/12.x/¡¡¡¡ ¡¡¡¡¡Ê32¥Ó¥Ã¥È¥â¡¼¥É¡Ë
    ¡¡¡¡ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¢¨¡¡¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê /opt/pgi ¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£
    ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¢¨¡¡12.x ¤Ï¡Ö¥Ð¡¼¥¸¥ç¥ó¡¢¥ê¥Ó¥¸¥ç¥óÈÖ¹æ¡×¤Ç¤¹¡£


¡Ú64¥Ó¥Ã¥È´Ä¶­¤Ç¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤È¤½¤Î¥¤¥á¡¼¥¸¡Û

¥Ç¥¤¥ì¥¯¥È¥ê̾ ÆâÍÆ
/opt/pgi/osx86-64/12.x/bin osx86-64 64¥Ó¥Ã¥È¡¡¥³¥ó¥Ñ¥¤¥é¡¢¥Ä¡¼¥ë¤Î¥Ð¥¤¥Ê¥ê
/opt/pgi/osx86-64/12.x/lib osx86-64 64¥Ó¥Ã¥È ¥³¥ó¥Ñ¥¤¥é¡¢¥Ä¡¼¥ë¤Î¥é¥¤¥Ö¥é¥ê
/opt/pgi/osx86-64/12.x/include osx86-64 64¥Ó¥Ã¥È ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë
/opt/pgi/osx86-64/12.x/REDIST ºÆÇÛÉÛÍѤΠPGI ¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê
/opt/pgi/osx86-64/12.x/doc ¥É¥­¥å¥á¥ó¥È
/opt/pgi/osx86-64/12.x/man UNIX-style ¥³¥Þ¥ó¥É¤Î man¡¡¥Ú¡¼¥¸
/opt/pgi/osx86-64/12.x/src Fortran 90 source files for included modules
/opt/pgi/osx86-64/2012/mpi osx86 OpenMPI for local development
¡¡¡¡¡¡¢¨¡¡¾åµ­¤Ï¡¢PGI12.x ¥Ð¡¼¥¸¥ç¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Î¥Ñ¥¹Ì¾¤Ç¤¹

¡Ú32¥Ó¥Ã¥È´Ä¶­¤Ç¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤È¤½¤Î¥¤¥á¡¼¥¸¡Û

¥Ç¥¤¥ì¥¯¥È¥ê̾ ÆâÍÆ
/opt/pgi/osx86/12.x/bin osx86 32¥Ó¥Ã¥È ¥³¥ó¥Ñ¥¤¥é¡¢¥Ä¡¼¥ë¤Î¥Ð¥¤¥Ê¥ê
/opt/pgi/osx86/12.x/lib osx86 32¥Ó¥Ã¥È ¥³¥ó¥Ñ¥¤¥é¡¢¥Ä¡¼¥ë¤Î¥é¥¤¥Ö¥é¥ê
/opt/pgi/osx86/12.x/include osx86 32¥Ó¥Ã¥È ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë
/opt/pgi/osx86/12.x/REDIST ºÆÇÛÉÛÍѤΠPGI ¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê
/opt/pgi/osx86/12.x/doc ¥É¥­¥å¥á¥ó¥È
/opt/pgi/osx86/12.x/man UNIX-style ¥³¥Þ¥ó¥É¤Î man¡¡¥Ú¡¼¥¸
/opt/pgi/osx86-64/12.x/src Fortran 90 source files for included modules
/opt/pgi/osx86-64/2012/mpi osx86-64 OpenMPI for local development

¡¡¡¡¡¡¢¨¡¡¾åµ­¤Ï¡¢PGI12.x ¥Ð¡¼¥¸¥ç¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Î¥Ñ¥¹Ì¾¤Ç¤¹

²èÌ̥ȥåפØ

STEP 2 : PGI Compiler for Mac OS X ¤Î¥À¥¦¥ó¥í¡¼¥É

PGI Workstation for Mac OS X ÍѤΥ½¥Õ¥È¥¦¥§¥¢¤Ï°Ê²¼¤Î¥Ý¥¤¥ó¥È¤«¤é¥À¥¦¥ó¥í¡¼¥É²Äǽ¤Ç¤¹¡£¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¢Mac OS X 32¥Ó¥Ã¥È/64¥Ó¥Ã¥ÈÈÇÀ½ÉÊ¡ÊPGI-Workstation-12*.dmg¡Ë¤Ç¤¹¡£³ºÅö¤¹¤ë¥½¥Õ¥È¥¦¥§¥¢¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£

 Download PGI Workstation for Mac OS X 

STEP 3 : PGI Mac OS X ÈǤΥ¤¥ó¥¹¥È¡¼¥ë

¡Ö´ÉÍý¼Ô¡×¸¢¸Â¤Ç¥·¥¹¥Æ¥à¤Ë¥í¥°¥ª¥ó¤·¤Æ¤¯¤À¤µ¤¤¡£¥À¥¦¥ó¥í¡¼¥É¤·¤¿PGI¥³¥ó¥Ñ¥¤¥é¤Î¥½¥Õ¥È¥¦¥§¥¢PGI-Workstation-11*.dmg ¥Õ¥¡¥¤¥ë¤ò¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤·¤Þ¤¹¤È°Ê²¼¤Î²èÌ̤¬¸½¤ì¤Þ¤¹¡£¤³¤ÎÃæ¤Ë¤Ï¡¢Æó¤Ä¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬´Þ¤Þ¤ì¤Þ¤¹¡£

¡¡1. PGI Workstation 12.x.pkg
¡¡2. PGI Accelerator 12.x.pkg

PGI¥¢¥¯¥»¥é¥ì¡¼¥¿µ¡Ç½Ìµ¤·¤Î½¾Íè¤Î x64¥³¥ó¥Ñ¥¤¥é¤Î¤ß¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Î¾ì¹ç¤Ï¡¢1¡¡¤Î ¡ÖPGI Workstation 12.x.pkg¡×¤ò¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤ò³¹Ô¤·¤Æ²¼¤µ¤¤¡£

PGI¥¢¥¯¥»¥é¥ì¡¼¥¿µ¡Ç½ÉÕ¤­¤Îx64+GPU¥³¥ó¥Ñ¥¤¥é¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ï¡¢1¡¡¤Î ¡ÖPGI Workstation 12.x.pkg¡×¤òºÇ½é¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£¤³¤Î PGI Workstation 12.x.pkg ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Îºî¶È¤ò½ªÎ»¤·¤¿¸å¡¢ºÆÅÙ¡¢¤³¤Î²èÌ̤ò³«¤­¡¢2 ¤Î ¡ÖPGI Accelerator 12.x.pkg¡× ¤ò¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤·¤Æ¡¢Accelerator ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò¼Â»Ü¤·¤Æ²¼¤µ¤¤¡£

¡¡²èÌ̤˸½¤ì¤¿¥¦¥£¥¶¡¼¥É¤Ë½¾¤Ã¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤Ê¤ª¡¢¥¤¥ó¥¹¥È¡¼¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï/opt/pgi¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤òÊѹ¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£PGI¥¢¥¯¥»¥é¥ì¡¼¥¿¥³¥ó¥Ñ¥¤¥é¤Î¾ì¹ç¤Ï¡¢¾åµ­¡¢£±¡¤2¤Î¥Ñ¥Ã¥±¡¼¥¸¤ÏƱ¤¸¾ì½ê¤ò»ØÄꤷ¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£ºÇ¸å¤Ë¡¢¡Ö¥½¥Õ¥È¥¦¥§¥¢¤ÏÀµ¾ï¤Ë¥¤¥ó¥¹¥È¡¼¤µ¤ì¤Þ¤·¤¿¡×¤È¸À¤¦¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Æ¡¢½ªÎ»¤·¤Þ¤¹¡£

²èÌ̤˸½¤ì¤¿¥¦¥£¥¶¡¼¥É¤Ë½¾¤Ã¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£ºÇ¸å¤Ë¡¢¡Ö¥½¥Õ¥È¥¦¥§¥¢¤ÏÀµ¾ï¤Ë¥¤¥ó¥¹¥È¡¼¤µ¤ì¤Þ¤·¤¿¡×¤È¸À¤¦¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Æ¡¢½ªÎ»¤·¤Þ¤¹¡£

¿·¤¿¤Ë¡¢¡Ö¥¿¡¼¥ß¥Ê¥ë¡×¤òµ¯Æ°¤·¤Æ¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¢¥é¥¤¥»¥ó¥¹¥­¡¼¤ò¼èÆÀ¤¹¤ë¤¿¤á¤Î hostid ¾ðÊó¤Èhostname ̾¤ò³Îǧ¤·¤Þ¤¹¡£¥¿¡¼¥ß¥Ê¥ë²èÌ̾å¤Ç¡¢°Ê²¼¤Î lmutil ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï¡¢¥é¥¤¥»¥ó¥¹¥­¡¼¼èÆÀ¤Î¤¿¤á¤Î¥·¥¹¥Æ¥à¤Ë¥æ¥Ë¡¼¥¯¤Ê hostID ¾ðÊó¤ò²èÌ̤Ëɽ¼¨¤µ¤»¤Þ¤¹¡£

$ /opt/pgi/osx86/2012/bin/lmutil lmhostid  ¤¢¤ë¤¤¤Ï¡¢
$ /opt/pgi/osx86-64/2012/bin/lmutil lmhostid
lmutil - Copyright (c) 1989-2011 Macrovision Europe Ltd.
and/or Macrovision Corporation. All Rights Reserved.

The FLEXnet host ID of this machine is "000874ab0f44"
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¢¬ FLEXlm ·Á¼°¥é¥¤¥»¥ó¥¹ÍѤΡ¡hostid

¤³¤ÎÃæ¤Ç¡¢000874ab0f44 ¤È¸À¤¦Ê¸»úÎ󤬤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤¬¸å¤Ç¡¢Àµ¼°¤Ê FLEXlm ¥é¥¤¥»¥ó¥¹¥­¡¼¤ò¼èÆÀ¤¹¤ëºÝ¤ËɬÍ×¤Ê hostID ¤È¤Ê¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¥­¡¼¤ò¼èÆÀ¤¹¤ëºÝ¤ËɬÍפʥۥ¹¥È̾(tiger.softek.co.jp)¤Ï¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ÇÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

$ /opt/pgi/osx86/2012/bin/lmutil lmhostid -hostname ¤¢¤ë¤¤¤Ï¡¢
$ /opt/pgi/osx86-64/2012/bin/lmutil lmhostid -hostname

The FLEXnet host ID of this machine is "HOSTNAME=tiger.softek.co.jp"

²èÌ̥ȥåפØ


STEP 4 : Àµµ¬¥é¥¤¥»¥ó¥¹¥­¡¼¤Î¼èÆÀ

Àµ¼°¥é¥¤¥»¥ó¥¹¥­¡¼¤Î¼èÆÀ¤ÎºÝ¤Ï¡¢PGI ¸ÜµÒ¥µ¥Ý¡¼¥È¡¦¥µ¥¤¥È¤Ë¥í¥°¥¤¥ó¤·¤Þ¤¹¡£Web¥Ö¥é¥¦¥¶¤Ë¤Æ¡¢²¼µ­PGI ¼Ò¤Î¥µ¥¤¥È¤Ë¥¢¥¯¥»¥¹¤·¤Æ¡¢¤ªµÒÍ͸ĿÍÍѤΠWeb ¥¢¥«¥¦¥ó¥ÈID ¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£¥í¥°¥¤¥ó¸å¡¢¥á¥Ë¥å¡¼¤Ë½¾¤¤¡¢¥é¥¤¥»¥ó¥¹¥­¡¼¤Îȯ¹Ô¤Î¤¿¤á¤ÎÁàºî¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢¤³¤Á¤é¤Î¡ÖPGI ¥³¥ó¥Ñ¥¤¥é¡¦¥é¥¤¥»¥ó¥¹¤Îȯ¹Ô¡×¤ò¤´Í÷¤¯¤À¤µ¤¤¡£


¿·µ¬¤Ë¡¢¥é¥¤¥»¥ó¥¹¥­¡¼¤òÊÌÅÓ¼èÆÀ¤¹¤ëÊýË¡¤Ë´Ø¤·¤Æ¤Ï¡¢¡ÖPGI ¥³¥ó¥Ñ¥¤¥é¡¦¥é¥¤¥»¥ó¥¹¤Îȯ¹Ô¡×¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ò¹Ô¤¦Êý¤Ç¡¢¤´¼«¿È¤Î¥µ¥Ö¥¹¥¯¥ê¥×¥·¥ç¥ó¤Î¹¹¿·¸å¡¢¡Ö¿·¤·¤¤¥é¥¤¥»¥ó¥¹¥­¡¼¤Î¹¹¿·ÌÜŪ¡×¤ÎÊý¤Ï¡¢¤³¤Á¤é¤ò¤´Í÷¤¤¤¿¤À¤­¡¢¿·¤·¤¤¥é¥¤¥»¥ó¥¹¥­¡¼¤ò¼èÆÀ¤·¤Æ¤¯¤À¤µ¤¤¡£¥µ¥Ö¥¹¥¯¥ê¥×¥·¥ç¥ó¹¹¿·¸å¤Î¥é¥¤¥»¥ó¥¹¥­¡¼¤Î¾õÂ֤˴ؤ·¤Æ¤Ï¡¢¤³¤Á¤é¤Î¥Ú¡¼¥¸¤â¤´Í÷¤¯¤À¤µ¤¤¡£

°Ê¾å¤Î¼ê³¤­¤ò¹Ô¤¤¤Þ¤¹¤È¡¢¥é¥¤¥»¥ó¥¹É½¼¨²èÌ̤˥饤¥»¥ó¥¹¡¦¥­¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ÎÆâÍƤò copy & paste ¤·¤Æ¡¢PGI ¥³¥ó¥Ñ¥¤¥é¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ Mac OS X ¥·¥¹¥Æ¥à¾å¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê¡ÊÎ㡧 /opt/pgi ¡Ë²¼¤Î license.dat ¤ÎÆâÍƤòÁ´¤Æ½ñ¤­´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£

¼èÆÀ¤·¤¿ license.dat ¤ÎÆâÍƤò³Îǧ¤·¤Þ¤¹¡£°Ê²¼¤Î¤è¤¦¤Ë¡¢ license.dat ¤Î°ì¹ÔÌÜ¡ÊSERVER ¹Ô¡Ë¤Î <hostname> ¤¬¡¢¼ÂºÝ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Û¥¹¥È̾¤Ç¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£°Ê¾å¤Ç¡¢Àµ¼°¥é¥¤¥»¥ó¥¹¤Î¼èÆÀ¤ÈÀßÄê¤Ï½ªÎ»¤Ç¤¹¡£

¥Õ¥¡¥¤¥ë̾¡§/opt/pgi/license.dat

¡Ú¼èÆÀ¸å¤Î¥µ¥ó¥×¥ëÎã¡Û

SERVER <hostname> <hostid> 27000
DAEMON pgroupd
PACKAGE PGI2012-workstation-fortran pgroupd 2013.0213 503696969352 \
   COMPONENTS="pgi-f95-osx64 pgi-f77-osx64 pgi-f95-osx32 \
   pgi-f77-osx32 pgi-prof pgi-dbg pgi-dbg-gui" OPTIONS=SUITE \
   SIGN="13E5 E563 8E8F 0C13 DC4B 56FC F610 5279 C037 3C17 C81C \
   ABE8 A41A A02D 7A93 027D 4A13 9912 696D 975F 1CA4 C318 A517 \
   292D 2080 CC3D 7B14 1777 D59C 0990"
FEATURE PGI2012-workstation-fortran pgroupd 2013.0213 permanent 1 \
   631F8DEFA754 VENDOR_STRING=521212:8:ws:accel \
   HOSTID=0017f2c94f7b DUP_GROUP=U SUITE_DUP_GROUP=U SIGN="1E9C \
   9F58 58D6 9B6C BF7D 5952 C7CD 5ADD 65D7 48FF 42F4 84A8 AE2E \
   1684 0168 02C4 2A15 F297 9B4E 5494 D676 0DE8 9A9B E8AA B787 
(°Ê²¼¡¢Î¬)

** ¡Ú¥·¥¹¥Æ¥à¥Ö¡¼¥È»þ¤ÎFLEXlm¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ãµ¯Æ°»þ¤Î¥È¥é¥Ö¥ë¡Û****
Mac OS X ¤Î½é´ü¥·¥¹¥Æ¥àÀßÄê¤ÎÌäÂê¤Ç¡¢°Ê²¼¤Î STEP 5 ¤ÇÀâÌÀ¤¹¤ë¡¢¡Ö¥·¥¹¥Æ¥à¥Ö¡¼¥È»þ¤Î¥Ç¡¼¥â¥ó¼«Æ°µ¯Æ°¡×¤¬¥¨¥é¡¼¤Çµ¯Æ°¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢FLEXlm¥Ç¡¼¥â¥óµ¯Æ°¤ÎºÝ¤Ë¡¢¥·¥¹¥Æ¥à¤Î¥Û¥¹¥È̾¤Îǧ¼±¤òMac¥Ç¥Õ¥©¥ë¥È¤Î "Macintosh.local "¤È¸À¤¦Ì¾Á°¤Ç¹Ô¤ª¤¦¤È¤·¤Æ¤¤¤ë»ö¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£¤¢¤ë¤¤¤Ï¡¢»ØÄꤷ¤¿¥Û¥¹¥È̾¤Ë .local ¤È¸À¤¦ ¥µ¥Õ¥£¥¯¥¹¤òÉÕ¤±¤ÆÆâÉôŪ¤Ë²ò¼á¤·¤Þ¤¹¡£¤³¤ì¤¬¡¢license.dat ¥Õ¥¡¥¤¥ë¤Ëµ­½Ò¤·¤Æ¤¤¤ë¥Û¥¹¥È̾¤È°ìÃפ·¤Ê¤¤¤¿¤á¤Ëµ¯¤³¤ê¤Þ¤¹¡£Àµ¤·¤¯¡¢Mac OS X ¤Î¥·¥¹¥Æ¥àÀßÄê¤ò¹Ô¤¦¤ÈÌäÂê¤ÏÀ¸¤¸¤Þ¤»¤ó¤¬¡¢FLEXlm¥Ç¡¼¥â¥óµ¯Æ°¤Î¥¨¥é¡¼¤ò²ò·è¤¹¤ë¤Ë¤Ï¡¢¼ÂºÝ¤Î¥Û¥¹¥È̾¤ÎÂå¤ï¤ê¤Ë¡¢»ÃÄêŪ¤Ë°Ê²¼¤Î¤è¤¦¤Ë¡¢ license.dat ¤Î1¹ÔÌܤΥۥ¹¥È̾¤òÊѹ¹¤¹¤ì¤Ð²ò·è¤µ¤ì¤Þ¤¹¡£
¤Ê¤ª¡¢¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã´ØÏ¢¤Î¥í¥°¤Ï¡¢/opt/pgi/license.log ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¡¡¡¡SERVER Macintosh.local <hostid> 27000
¡¡¡¡¤¢¤ë¤¤¤Ï
¡¡¡¡SERVER <hostname>.local <hostid> 27000
*********************************************************************
¤â¤·¡¢¤³¤ÎÌäÂê¤òº¬ËÜŪ¤Ë²ò·è¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Ê²¼¤Î FAQ ¤ò»²¹Í¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¡¦¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤È¤·¤Æ²¾ÁÛŪ¤Ê¥í¡¼¥«¥ë¡¦¥ë¡¼¥×¥Ð¥Ã¥¯¤òºîÀ®¤·¡¢license.datÆâ¤ÎSERVER¹Ô¤Î¥Û¥¹¥È̾¤òÊѹ¹¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢²ò·è¤Ç¤­¤Þ¤¹¡£
¡Ê¾ÜºÙ¤Ê²òÀâ¡Ë
FLEXlm¤Î¥é¥¤¥»¥ó¥¹´ÉÍý¥½¥Õ¥È¥¦¥§¥¢¤¬Æ°ºî¤¹¤ë¡Ö¥·¥¹¥Æ¥à¡×¤¬ÀÅŪ¤Ê IP¥¢¥É¥ì¥¹¤ò»ý¤¿¤Ê¤¤¡¢DHCPÅù¤Ç¥¢¥É¥ì¥¹¤òưŪ¤ËÄ󶡤µ¤ì¤ë¹½À®¤Î¾ì¹ç¤Î¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã¤ÎÀßÄêÊýË¡¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤(PGI Workstation¥é¥¤¥»¥ó¥¹¡Ë¡£
¡¡http://www.softek.co.jp/SPG/Pgi/FAQ/faq3.html#022


¡ÊÀÅŪIP¥¢¥É¥ì¥¹¤ò»ý¤¿¤Ê¤¤¥·¥¹¥Æ¥à¤ÎÀßÄêÊýË¡¡Ë
FLEXlm¤Î¥é¥¤¥»¥ó¥¹´ÉÍý¥½¥Õ¥È¥¦¥§¥¢¤¬Æ°ºî¤¹¤ë¡Ö¥·¥¹¥Æ¥à¡×¤¬ÀÅŪ¤Ê IP¥¢¥É¥ì¥¹¤ò»ý¤¿¤Ê¤¤¡¢DHCPÅù¤Ç¥¢¥É¥ì¥¹¤òưŪ¤ËÄ󶡤µ¤ì¤ë¹½À®¤Î¾ì¹ç¤Î¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã¤ÎÀßÄêÊýË¡¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤(PGI Workstation¥é¥¤¥»¥ó¥¹¡Ë¡£
¡¡http://www.softek.co.jp/SPG/Pgi/FAQ/faq3.html#022

²èÌ̥ȥåפØ

STEP 5 : FLEXlm ¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã¤Îµ¯Æ°

¥·¥¹¥Æ¥à¤Î¥Ö¡¼¥È»þ¤Ë¡¢¥é¥¤¥»¥ó¥¹¥µ¡¼¥Ð¡¦¥Ç¡¼¥â¥ó(lmgrd)¤ÈPGI ¥Ù¥ó¥À¡¼¡¦¥Ç¡¼¥â¥ó(pgroupd)¤¬¼«Æ°µ¯Æ°¤¹¤ë¤¿¤á¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£¥·¥¹¥Æ¥à¸¢¸Â¡Êroot¡Ë¸¢¸Â¤Ç¥í¥°¥¤¥ó¤·¡¢¡Ê²¼µ­ STEP 6¤ÇÀâÌÀ¤¹¤ë¡ËPGI ´Ä¶­ÊÑ¿ô¤òÀßÄê¸å¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£¥·¥¹¥Æ¥à´ÉÍý¸¢¸Â¤òÍ­¤¹¤ë¥æ¡¼¥¶ID ¤Ç¥í¥°¥¤¥ó¤·¤¿¸å¡¢¥¿¡¼¥ß¥Ê¥ë¤ò³«¤­¡¢°Ê²¼¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à(root)¸¢¸Â¤Ç¤Î¥³¥Þ¥ó¥É¼Â¹Ô¥â¡¼¥É¤Ç¥³¥Þ¥ó¥ÉÁàºî¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

tiger:/etc kato$ sudo -s
password:******
tiger:/etc root# (root ¸¢¸Â¤Î¥³¥Þ¥ó¥É¥â¡¼¥É¤ËÊѹ¹¤µ¤ì¤ë)

¥·¥¹¥Æ¥à¥Ö¡¼¥È»þ¤Î¥Ç¡¼¥â¥ó¼«Æ°µ¯Æ°¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£¤Þ¤º¡¢/Library/StartupItems/PGI ¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤·¤Þ¤¹(¤¹¤Ç¤Ë¡¢²áµî¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤ª¤¤¤ÆºîÀ®ºÑ¤ß¤Î¾ì¹ç¤Ï¡¢¤³¤Î PGI ¥Ç¥£¥ì¥¯¥È¥ê¤òÍøÍѤ·¤Þ¤¹¡Ë¡£¤½¤Î¸å¡¢PGI ¥é¥¤¥»¥ó¥¹¹½À®¥Õ¥¡¥¤¥ë¡ÊPGI ¥Õ¥¡¥¤¥ë¤È StartupParameters.plist ¤ò¥Õ¥¡¥¤¥ë¡Ë¤òɬ¤º¡¢¥³¥Ô¡¼¤·¤Æ¤¯¤À¤µ¤¤¡ÊPGI 7.2 °Ê¹ß¤Î¥é¥¤¥ó¥»¥ó¥¹¥­¡¼¤Î½ñ¼°¤¬Êѹ¹¤µ¤ì¤¿¤¿¤á¡¢PGI 2012 ¤Ë¥Ð¥ó¥É¥ë¤µ¤ì¤¿ FLEXlm ¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤ò¼Â¸½¤¹¤ë¤¿¤á¤Ë¡¢¥Õ¥¡¥¤¥ë¤òɬ¤º¥³¥Ô¡¼¤·¤Æ¤¯¤À¤µ¤¤¡Ë¡£ ¤³¤ì¤Ë¤Æ¡¢¥Ç¡¼¥â¥ó¼«Æ°µ¯Æ°¤ÎÀßÄ꤬½ªÎ»¤·¤Þ¤¹¡£¡Ê°Ê²¼¤ò»²¾È¡Ë

% mkdir /Library/StartupItems/PGI (¸ºß¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¤½¤Î¤Þ¤Þ»ÈÍÑ¡Ë
% cp /opt/pgi/PGI /Library/StartupItems/PGI/PGI
% cp /opt/pgi/StartupParameters.plist \
      /Library/StartupItems/PGI/StartupParameters.plist

PGI ¥³¥ó¥Ñ¥¤¥é¤Î¥¤¥ó¥¹¥È¡¼¥ëľ¸å¤Î¤ß¡¢¼êÆ°¤Ç FLEXlm ¥é¥¤¥»¥ó¥¹¡¦¥Ç¡¼¥â¥ó (lmgrd) ¤òµ¯Æ°¤·¤Þ¤¹¡£
¥Ç¡¼¥â¥ó¤ÎÆ°ºî¥í¥°¤Ï¡¢/opt/pgi/license.log ¥Õ¥¡¥¤¥ë¤Ëµ­Ï¿¤µ¤ì¤Þ¤¹¡£ÌäÂ꤬À¸¤¸¤¿¾ì¹ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

% cd /Library/StartupItems/PGI
% ./PGI start

°Ê¾å¤Ç¡¢PGI ¥³¥ó¥Ñ¥¤¥é¤Î¥¤¥ó¥¹¥È¡¼¥ë¤È¥é¥¤¥»¥ó¥¹¤ÎÀßÄê¤Ï½ªÎ»¤Ç¤¹¡£¤³¤ì°Ê¹ß¡¢Àµµ¬¥é¥¤¥»¥ó¥¹¤Ç¤´ÍøÍѤˤʤì¤Þ¤¹¡£

(FLEXlm¥é¥¤¥»¥ó¥¹¥Þ¥Í¡¼¥¸¥ã´ØÏ¢¤Î¥È¥é¥Ö¥ë¡¦¥·¥å¡¼¥Æ¥£¥ó¥°¡Ë
PGI ¥³¥ó¥Ñ¥¤¥é¤ò»ÈÍѤ¹¤ëºÝ¤Ë¡¢°Ê²¼¤Î¤è¤¦¤Ê¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬¸½¤ì¤¿¾ì¹ç¡¢license.dat ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤«¡¢¾åµ­¤Î FLEXlm ¥Þ¥Í¡¼¥¸¥ã¤¬µ¯Æ°¤·¤Æ¤¤¤Ê¤¤¤³¤È¤¬¹Í¤¨¤ì¤ì¤Þ¤¹¡£Àµµ¬¥é¥¤¥»¥ó¥¹¥Õ¥¡¥¤¥ë¤¬¡¢/opt/pgi/license.dat ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¡¢¤Þ¤¿¡¢FLEXlm ¥Þ¥Í¡¼¥¸¥ã¤¬Æ°ºî¤·¤Æ¤¤¤ë¤«¤ò¤´³Îǧ¤¯¤À¤µ¤¤¡£

PGI$ pgf90  test.f
pgf90-win64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgf90-win64: LICENSE MANAGER PROBLEM: Cannot connect to license 
server system.
 The license server manager (lmgrd) has not been started yet,
 the wrong port@host or license file is being used, or the
 port or hostname in the license file has been changed.
Feature:       pgf90-osx86-64
Server name:   192.169.0.27
License path:  /opt/pgi/license.dat
FLEXnet Licensing error:-15,10.  
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".

²èÌ̥ȥåפØ


STEP 6 : °ìÈ̡ʥ롼¥È¸¢¸Â¡Ë¥æ¡¼¥¶¤Î´Ä¶­ÊÑ¿ô¤ÎÀßÄê

»ÈÍѤ¹¤ë¥æ¡¼¥¶¤Î¥·¥§¥ë½é´üÀßÄê¥Õ¥¡¥¤¥ë¡Ê $HOME/.bashrc Åù¡Ë¤Ë°Ê²¼¤Î¤è¤¦¤Êµ­½Ò¤ò²Ã¤¨¡¢´Ä¶­ÊÑ¿ô¤ª¤è¤Ó³Æ¼ï¥Ñ¥¹¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢´ÉÍý¼Ô¸¢¸Â¤Î¤¢¤ë¥æ¡¼¥¶¡¢°ìÈ̥桼¥¶¤òÌä¤ï¤º¡¢¥³¥ó¥Ñ¥¤¥é¤ò»ÈÍѤ¹¤ë¥æ¡¼¥¶¤Î´Ä¶­¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£½¾¤Ã¤Æ¡¢°Ê²¼¤Î´Ä¶­ÊÑ¿ô¡¢¥Ñ¥¹¤ÎÀßÄê¤Ïɬ¤º»ÈÍѤ¹¤ë¥æ¡¼¥¶Ëè¤ËÀßÄꤷ¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¡Ê¡Èosx86/12.x¡É ¤Î 12.x ¤ÎÉôʬ¤Ï¥½¥Õ¥È¥¦¥§¥¢¤Î¥á¥¸¥ã¡¼¥ê¥ê¡¼¥¹ÈÖ¹æ¤òɽ¤·¤Þ¤¹¡Ë
¥æ¡¼¥¶¸Ä¡¹¤Ë $HOME/.bashrc Åù¤ËÀßÄꤹ¤ëÊýË¡¤È¡¢Á´¥æ¡¼¥¶¤ËÂФ·¤ÆÈ¿±Ç¤Ç¤­¤ë¤è¤¦¤Ë /etc/profile ¤ËÀßÄꤹ¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
/etc ÇÛ²¼¤Î¥Õ¥¡¥¤¥ë¤òÊѹ¹¤¹¤ë¾ì¹ç¤Ï¡¢¥·¥¹¥Æ¥à´ÉÍý¸¢¸Â¤¬É¬ÍפǤ¹¡£¥·¥¹¥Æ¥à´ÉÍý¸¢¸Â¤òÍ­¤¹¤ë¥æ¡¼¥¶ID¤Ç¥í¥°¥¤¥ó¤·¤¿¸å¡¢°Ê²¼¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à(root)¸¢¸Â¤Ç¤Î¥³¥Þ¥ó¥É¼Â¹Ô¥â¡¼¥É¤Ç¥³¥Þ¥ó¥ÉÁàºî¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

tiger:/etc kato$ sudo -s
password:******
tiger:/etc root# vi profile¡¡¡¡¡¡(root¸¢¸Â¤Î¥³¥Þ¥ó¥É¥â¡¼¥É¤ËÊѹ¹¤µ¤ì¤ë)
¥í¥°¥¤¥ó»þ¤Î¥·¥§¥ë¤¬¡¢¥æ¡¼¥¶¸Ä¡¹¤Î$HOME/.bashrc¤ò»²¾È¤¹¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ /etc/bashc ¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢°Ê²¼¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÄɲ䷤Ƥª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
test -r $HOME/.bashrc && . /$HOME/.bashrc

/etc/profile ¤ËÀßÄꤷ¤¿¾ì¹ç¤Ï¡¢Á´¥æ¡¼¥¶¤Î½é´üÀßÄê¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£
¤¤¤º¤ì¤Ë¤·¤Æ¤â¡¢$HOME/.bashrc¤¢¤ë¤¤¤Ï¡¢/etc/profileÅù¤Ë°Ê²¼¤Î´Ä¶­ÊÑ¿ô¤È¥Ñ¥¹¤ÎÀßÄê¤ò¹Ô¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
¸½ºß¡¢2011 (12.x) ¤Ç¤ª»È¤¤¤Î¾ì¹ç¤Ï¡¢°Ê²¼¤Î´Ä¶­ÊÑ¿ô/¥Ñ¥¹¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¡£¤³¤Î¸½ºß¤ÎPATH ¤ÎÀßÄê¤Ë $PGI/osx86-64/2011/bin ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ ¥ê¥ê¡¼¥¹ PGI 2012(12.x) ¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢"2011" ¤ò "2012" ¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£ ¸å¤Ï¡¢source .basrc Åù¤Ç flush ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ç¿·¤·¤¤ ¥ê¥ê¡¼¥¹ 2012 ¤Î»ÈÍѤ¬²Äǽ¤È¤Ê¤ê¤Þ¤¹¡£

¡Ú32 ¥Ó¥Ã¥Èosx86 ¤Î¾ì¹ç¤ÎÀßÄê¡Û

sh ¤Þ¤¿¤Ï¡¢bash¡¢zsh¡¢ksh ¤Î¾ì¹ç¡¢$HOME/.bashrc Åù¤Ë
°Ê²¼¤Î¤è¤¦¤Êµ­½Ò¤ò²Ã¤¨¤Æ²¼¤µ¤¤¡£

  export PGI=/opt/pgi
  export PATH=$PGI/osx86/2012/bin:$PATH
  export MANPATH=$MANPATH:$PGI/osx86/2012/man
  export LM_LICENSE_FILE=$PGI/license.dat

csh ¤Þ¤¿¤Ï¡¢tcsh ¤Î¾ì¹ç¡¢$HOME/.cshrc Åù¤Ë
°Ê²¼¤Î¤è¤¦¤Êµ­½Ò¤ò²Ã¤¨¤Æ²¼¤µ¤¤¡£

  setenv PGI /opt/pgi
  set path = ( $PGI/osx86/2012/bin $path )
  setenv MANPATH ¡È$MANPATH¡È:$PGI/osx86/2012/man
  setenv LM_LICENSE_FILE $PGI/license.dat

¡Ú64 ¥Ó¥Ã¥Èosx86-64 ¤Î¾ì¹ç¤ÎÀßÄê¡Û

sh ¤Þ¤¿¤Ï¡¢bash¡¢zsh¡¢ksh ¤Î¾ì¹ç¡¢$HOME/.bashrc Åù¤Ë
°Ê²¼¤Î¤è¤¦¤Êµ­½Ò¤ò²Ã¤¨¤Æ²¼¤µ¤¤¡£

  export PGI=/opt/pgi
  export PATH=$PGI/osx86-64/2012/bin:$PATH
  export MANPATH=$MANPATH:$PGI/osx86-64/2012/man
  export LM_LICENSE_FILE=$PGI/license.dat

csh ¤Þ¤¿¤Ï¡¢tcsh ¤Î¾ì¹ç¡¢$HOME/.cshrc Åù¤Ë
°Ê²¼¤Î¤è¤¦¤Êµ­½Ò¤ò²Ã¤¨¤Æ²¼¤µ¤¤¡£

  setenv PGI /opt/pgi
  set path = ( $PGI/osx86-64/2012/bin $path )
  setenv MANPATH ¡È$MANPATH¡È:$PGI/osx86-64/2012/man
  setenv LM_LICENSE_FILE $PGI/license.dat


PGI Workstation/Server ¤Ë¥Ð¥ó¥É¥ë¤µ¤ì¤Æ¤¤¤ë OpenMPI¥é¥¤¥Ö¥é¥ê¤ò
¡Ö¥í¡¼¥«¥ë¡¦¥Î¡¼¥É¡×¾å¤Ç»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢°Ê²¼¤Î¥Ñ¥¹¤âÄɲûØÄê
¤·¤Æ²¼¤µ¤¤(sh/bash ¤Î¾ì¹ç¤ÎÎã)¡£

  export PATH=$PGI/osx86-64/2012/mpi/openmpi/bin:$PAT ¡Ê64¥Ó¥Ã¥È¤Î¾ì¹ç¡Ë
  export PATH=$PGI/osx86/2012/mpi/openmpi/bin:$PATH   ¡Ê32¥Ó¥Ã¥È¤Î¾ì¹ç¡Ë

²èÌ̥ȥåפØ

¡Ê¤´»²¹Í¡Ë¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤È¿·¥Ð¡¼¥¸¥ç¥ó¤òÀÚ¤êÂؤ¨¤Æ»ÈÍѤ¹¤ë

¿·µ¬¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¡¡PGI ¥³¥ó¥Ñ¥¤¥é¤Î¥Ð¡¼¥¸¥ç¥ó¤Èµì¥Ð¡¼¥¸¥ç¥ó¤òÀÚ¤êÂؤ¨¤Æ»È¤¤¤¿¤¤¾ì¹ç¤Ï¡¢°Ê²¼¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ÎÁ°Äó¤È¤·¤Æ¤Ï¡¢µì¥Ð¡¼¥¸¥ç¥ó¤â¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤»¤º¡¢»Ä¤·¤Æ¤¢¤ë¾ì¹ç¤Ë¸Â¤ê¤Þ¤¹¡£¤Ê¤ª¡¢¥é¥¤¥»¥ó¥¹¡¦¥­¡¼¤Ï¡¢¡Ö²¼°Ì¥Ð¡¼¥¸¥ç¥ó¤Î¸ß´¹À­¡×¤òÍ­¤·¤Æ¤ª¤ê¤Þ¤¹¤Î¤Ç¡¢²áµî¤Î PGI ¥Ð¡¼¥¸¥ç¥ó¤â¤´ÍøÍѤˤʤì¤Þ¤¹¡£

¥³¥ó¥Ñ¥¤¥é¡¦¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤹ¤ë¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¡¢¥ª¥×¥·¥ç¥ó -V{Release_number} ¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢»ØÄꤵ¤ì¤¿¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Î¥³¥ó¥Ñ¥¤¥é¤¬»ÈÍѤµ¤ì¡¢¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¡ÊÎã¡Ë¡¡pgf90 -V9.0 test.f90 ¡ÊPGI 9.0 ¤Î¥³¥ó¥Ñ¥¤¥é¤ò»ÈÍѤ·¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Þ¤¹¡Ë
¡¡¡¡¡¡¡¡pgf90 -V11.9 test.f90 ¡ÊPGI 2011¤Î11.9 ¤Î¥³¥ó¥Ñ¥¤¥é¤ò»ÈÍѤ·¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Þ¤¹¡Ë


²èÌ̥ȥåפØ

Mac OS X ÈÇ PGI ¥³¥ó¥Ñ¥¤¥é¤Î¥½¥Õ¥È¥¦¥§¥¢¤Îºï½ü

PGI ¥³¥ó¥Ñ¥¤¥é¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¾Ãµî¤·¤¿¤¤¾ì¹ç¤Ï¡¢¥ë¡¼¥È¸¢¸Â¤Ç°Ê²¼¤Î directory ¤Þ¤Ç°ÜÆ°¤·¤Æ²áµî¤Î¥ê¥ê¡¼¥¹ÈÖ¹æ(°ìÎ㡧9.0 ¤È 9.0-x) ¤Î directory ÇÛ²¼¤òºï½ü¤Ç¤­¤Þ¤¹¡£¥³¥Þ¥ó¥É¤Ë¤è¤ê¡¢ÌÀ¼¨Åª¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£PGI 9.0°ÊÁ°¤Ï¡¢³Æ¥ê¥ê¡¼¥¹¡Ê¥ê¥Ó¥¸¥ç¥ó¡Ë¤Î¥½¥Õ¥È¥¦¥§¥¢¤Î¼ÂÂ֤ϡ¢9.0-4 ¤È¸À¤Ã¤¿¡¢¥Ñ¥Ã¥ÁÈÖ¹æ¡Ê-4)¤¬ÉÕ¤¤¤¿¥Ç¥£¥ì¥¯¥È¥êÇÛ²¼¤Ë¸ºß¤·¤Þ¤¹¡£9.0 ¤È¸À¤¦Áí¾Î¥Ð¡¼¥¸¥ç¥ó¤Î¥Ç¥£¥ì¥¯¥È¥ê¤â¾Ãµî¤·¤Æ²¼¤µ¤¤¡£¡£

¡¡¡¡¡¡¡¡cd /opt/pgi/osx86/
¡¡¡¡¡¡¡¡ls ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡(9.0-4¤òºï½ü¤¹¤ë¡Ë
¡¡¡¡¡¡¡¡9.0¡¡¡¡9.0-4 ¡¡2010 10.8 ¡¡2011 11.9¡¡
¡¡¡¡¡¡¡¡rm -rf 9.0-4 9.0
¡¡¡¡¡¡¡¡cd /opt/pgi/osx86-64/
   ¡¡¡¡ ls¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¡¡¡¡¡¡¡¡¡¡(9.0-4¤òºï½ü¤¹¤ë¡Ë
¡¡¡¡¡¡¡¡9.0¡¡¡¡9.0-4 2010 10.8 2011 11.9
¡¡¡¡¡¡¡¡rm -rf 9.0-4 9.0




¡¡¥½¥Õ¥Æ¥Ã¥¯¤Ï¡¢PGI À½ÉʤθøǧÀµµ¬ÂåÍýŹ¤Ç¤¹

¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌä¹ç¤»
Copyright 2012 SofTek Systems Inc. All Rights Reserved.