’nˆæ–§’…Œ^ƒGƒŠƒAL”zMƒŠƒNƒ‹[ƒg‚Ì’nˆæ–§’…Œ^LƒhƒRƒCƒNHƒAƒhƒlƒbƒgƒ[ƒN Ads by ƒhƒRƒCƒNH[–³—¿‚Ńz[ƒ€ƒy[ƒW‚ðì¬] [’Ê•ñEíœˆË—Š]
[–³—¿‚Ńz[ƒ€ƒy[ƒW‚ðì¬] [’Ê•ñEíœˆË—Š]

MacBook Pro (Mac OS X 10.7.5)

  ‚±‚±‚Å‚ÍMac‚Å‚ÌWIEN2k‚̃ZƒbƒgƒAƒbƒv‚©‚çŠî–{“I‚ÈŒvŽZ‚Ü‚Å‚ð‰ðà‚·‚éBŠî–{“I‚ɂ͍¶—“‚É‚ ‚éƒRƒ“ƒpƒCƒ‹ƒIƒvƒVƒ‡ƒ“‚ÌŽw’è‚ðŽQl‚É‚·‚ê‚΂悢BƒRƒ“ƒpƒCƒ‹‚Ígfortran‚Ì‚Ý‚ð—p‚¢‚éB(Now, under constructing)
¦‚±‚̃y[ƒW‚̓Rƒ“ƒpƒCƒ‹‚Ì‚Ý‚Å“®ìƒ`ƒFƒbƒN‚ð‚µ‚Ä‚¢‚È‚¢‚Ì‚Å’ˆÓ‚µ‚Ä‚­‚¾‚³‚¢B

use: idou -> utility -> terminal, application -> firefox
-------------------------------------------------------------------------------
¡  WIEN2k Install ( OpenBLAS{or LAPACK} + FFTW3 + OpenMP + OpenMPI + ScaLAPACK)
(MacBook Pro, OSX v10.7.5, 2.3GHz Intel Core i7, 8GB 1333 MHz DDR3)


  gfortran
1. http://hpc.sourceforge.net -> gcc-4.7-bin.tar.gz
2. sudo tar zxvf $HOME/Downloads/gcc-4.7-bin.tar.gz -C /
3. gfortran -march=native -E -v - &1 | grep cc1
------
COLLECT_GCC=gfortran
ƒ^[ƒQƒbƒg: x86_64-apple-darwin11.4.0
configure Ý’è: ../gcc-4.7.1/configure --enable-languages=fortran
ƒXƒŒƒbƒhƒ‚ƒfƒ‹: posix
gcc ƒo[ƒWƒ‡ƒ“ 4.7.1 (GCC)
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.7.4' '-march=native' '-E' '-v'
 /usr/local/libexec/gcc/x86_64-apple-darwin11.4.0/4.7.1/cc1 -E -quiet -v -D__DYNAMIC__ - -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -fPIC -mmacosx-version-min=10.7.4
-----

----------( This is for MacBook Air data)
  make
0. Apple ID ‚Ì“o˜^‚ð‚µ‚Ä‚­‚¾‚³‚¢B
1. https://developer.apple.com/downloads/index.action# -> Xcode 4.4
2. double-click xcode446938108a.dmg
3. double-click Xcode.app
4. ŠJ‚­
5. Agree
6. Install
7. ƒpƒXƒ[ƒh‚ð“ü—Í
8. Start Using Xcode
9. Xcode.app -> Xcode -> Preferences... -> Downloads -> command Line Tools
10. Install
11. ƒfƒXƒNƒgƒbƒv‚É‚ ‚éXcode.app‚ðƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚É“ü‚ê‚Ü‚·
12. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
References
[1] http://choreonoid.org/ja/install/build-macosx.html
[2] http://deepfolte.hatenablog.com/entry/20120225/1330129212
----------

  OpenMPI
0. cd ~
1. http://www.open-mpi.org/software/ompi/v1.4/ -> openmpi-1.4.5.tar.gz
2. tar zxvf $HOME/Downloads/openmpi-1.4.5.tar.gz
3. cd open*
4. ./configure
5. make
6. make check
7. sudo make install

  FFTW3
0. cd ~
1. http://www.fftw.org/download.html -> fftw-3.3.4.tar.gz
2. tar zxvf $HOME/Downloads/fftw-3.3.4.tar.gz
3. cd fft*
4. ./configure  F77="gfortran -m64 -mtune=native -O2 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -msse4.2" CC="gcc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2" MPICC="mpicc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2" --enable-silent-rules --enable-sse2 --enable-mpi --enable-threads
5. make
6. make check

--------------------------------------------------------------
      MPI FFTW threaded transforms passed 10 tests!
--------------------------------------------------------------
7. sudo make install
----- (fftw3f type)
8. make clean
9. ./configure  F77="gfortran -m64 -mtune=native -O2 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -msse4.2" CC="gcc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2" MPICC="mpicc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2" --enable-silent-rules --enable-sse2 --enable-mpi --enable-threads --enable-float
10. make
11. make check

--------------------------------------------------------------
      MPI FFTW threaded transforms passed 10 tests!
--------------------------------------------------------------
12. sudo make install
(error: openmp type, checking for OpenMP flag of C compiler... unknown
configure: error: don't know how to enable OpenMP)

information: (error case) ./configure  F77="gfortran -m64 -mtune=native -O2 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -mavx" CC="gcc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -mavx" MPICC="mpicc -O2 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -mavx" --enable-silent-rules --enable-sse2 --enable-mpi --enable-threads

  LAPACK

0. cd ~
1. http://www.netlib.org/lapack/ -> lapack-3.5.0.tgz
2. tar -zxvf $HOME/Downloads/lapack-3.5.0.tgz
3. cp lapack-3.5.0
4. cp make.inc.example make.inc
5 vi make.inc
  
OPTS     = -O2 -frecursive -m64 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -msse4.2
  CFLAGS = -O3 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2
6. make blaslib
7. make lapacklib
8. sudo ln -s ~/lapack-3.5.0/librefblas.a /usr/local/lib/libblas.a

  sudo ln -s ~/lapack-3.5.0/liblapack.a /usr/local/lib/liblapack.a
¦ ƒRƒ“ƒpƒCƒ‹‚µ’¼‚·‚Æ‚«‚́A‚»‚Ì‘O‚É make clean ‚ð“ü—Í‚·‚éB

 
OpenBLAS
0. cd ~
1. download: http://www.openblas.net/ -> TAR
2. tar zxvf $HOME/Downloads/xianyi-OpenBLAS-v0.2.13-0-g51ce5ef.tar.gz
3. cd xia*
4. gedit GotoBLAS_02QuickInstall.txt
5. make
6. sudo make install
 or sudo make PREFIX=/usr/local/ install

 OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)

  OS               ... Darwin             
  Architecture     ... x86_64               
  BINARY           ... 64bit                 
  C compiler       ... CLANG  (command line : clang)
  Fortran compiler ... GFORTRAN  (command line : gfortran)
-n   Library Name     ... libopenblas_sandybridgep-r0.2.13.a
 (Multi threaded; Max num-threads is 8)

To install the library, you can run "make PREFIX=/path/to/your/installation install".

sudo make install case
Generating openblas_config.h in /opt/OpenBLAS/include
Generating f77blas.h in /opt/OpenBLAS/include
Generating cblas.h in /opt/OpenBLAS/include
------
Copying LAPACKE header files to /opt/OpenBLAS/lib
Copying the static library to /opt/OpenBLAS/lib
Copying the shared library to /opt/OpenBLAS/lib
Generating OpenBLASConfig.cmake in /opt/OpenBLAS/cmake
Install OK!

  using
gfortran -o case case.f -L/opt/OpenBLAS/lib -lopenblas -lpthread
 or gfortran -o case case.f -L/usr/local/lib -lopenblas -lpthread

  ScaLAPACK (+BLACS) ( for LAPACK case)
ScaLAPACK : http://www.netlib.org/scalapack/
0) cd ~
1) tar zxvf $HOME/Downloads/scalapack-2.0.2.tgz
2) cd scalapack-2.0.2
3) cp SLmake.inc.example SLmake.inc
4) vi SLmake.inc
  FCFLAGS       = -O3 -m64 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -msse4.2
  CCFLAGS       = -O3 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2
  BLASLIB       = /usr/local/lib/libblas.a
  LAPACKLIB     = /usr/local/lib/liblapack.a
5) esc
6) :wq

7) make lib
8) sudo ln -s ~/scalapack-2.0.2/libscalapack.a /usr/local/lib/libscalapack.a
¦ ƒRƒ“ƒpƒCƒ‹‚µ’¼‚·‚Æ‚«‚́A‚»‚Ì‘O‚É make clean ‚ð“ü—Í‚·‚éB

  ScaLAPACK (+BLACS) ( for OpenBLAS case)
ScaLAPACK : http://www.netlib.org/scalapack/
0) cd ~
1) tar zxvf $HOME/Downloads/scalapack-2.0.2.tgz
2) cd scalapack-2.0.2
3) cp SLmake.inc.example SLmake.inc
4) vi SLmake.inc
  FCFLAGS       = -O3 -m64 -fstack-arrays -m64 -fsignaling-nans -funroll-all-loops -mtune=native -ftree-vectorize -ffast-math -fno-protect-parens -msse4.2
  CCFLAGS       = -O3 -ffast-math -m64 -ftree-vectorize -mtune=native -funroll-all-loops -msse4.2
  BLASLIB       = /opt/OpenBLAS/lib/libopenblas.a
  LAPACKLIB     = /opt/OpenBLAS/lib/libopenblas.a
5) esc
6) :wq

7) make lib
8) sudo ln -s ~/scalapack-2.0.2/libscalapack.a /opt/OpenBLAS/lib/libscalapack.a
¦ ƒRƒ“ƒpƒCƒ‹‚µ’¼‚·‚Æ‚«‚́A‚»‚Ì‘O‚É make clean ‚ð“ü—Í‚·‚éB

-------------------------------------------------------------------------------
¡ WIEN2k (WIEN2k_14.2) (stable and easy setting)
0) cd ~
1) mkdir WIEN2k_14

2) cd WIEN2k_14
3) cp $HOME/Downloads/WIEN2k_14.2.tar .
4) tar -xvf WIEN2k_14.2.tar
5) gunzip *.gz
6) chmod +x ./expand_lapw
7) ./expand_lapw
8) continue (y/n) y
9) ./siteconfig_lapw
10) 
continue or stop (c/s) c
11) v
12) gfortran
13) gcc
14) 
Current settings:
 O   Compiler options:        -ffree-form -O2 -ffree-line-length-none
 F   FFTW options:            -DFFTW3 -I/usr/local/include
 L   Linker Flags:            $(FOPT) -lfftw3_mpi -lfftw3_threads -lfftw3 -L/usr/local/lib -L../SRC_lib -L/opt/OpenBLAS/lib
 P   Preprocessor flags       '-DParallel'
 R   R_LIB (LAPACK+BLAS):     -llapack_lapw -lopenblas -lpthread -fopenmp
 FL  FFTW_LIBS:               -lfftw3_mpi -lfftw3 -L/usr/local/lib
15) 
   1. Shared Memory Architecture? (y/n): y

   2. (like taskset -c). Enter N / your_specific_command:
   3. You need to KNOW dedtails about your installed MPI and FFTW ) y
   4. Set MPI_REMOTE to 0 / 1:
   5. Your compiler: mpif90
   6. Please specify whether you want to use FFTW3 (default) or FFTW2  (FFTW3 / FFTW2)

     FFTW3
   7. Please specify the ROOT-path of your FFTW installation (like /opt/fftw3):

     /usr/local
   8. is this correct? enter Y (default) or n: y
   9. Current settings:
      FPOPT(par.comp.options)  
-ffree-form -O2 -ffree-line-length-none
      RP_LIB(SCALAPACK+PBLAS): -lscalapack $(R_LIBS)
16) q
17) a
-----( lapwso error case start)
1. cd
SRC_lapwso
2. vi modules.F
3. / rc_index
(many time push n)
(line 372 and 559)
< INTEGER,allocatable :: rc_index(:,:,:)
< integer,allocatable :: rc_index_up(:,:,:),rc_index_dn(:,:,:)
-----
> LOGICAL,allocatable :: rc_index(:,:,:)
> logical,allocatable :: rc_index_up(:,:,:),rc_index_dn(:,:,:)
-----
4. cd ..
5. ./siteconfig
6. r
7. s
8. lapwso
-----( lapwso error case end)
18) vi userconfig
19) :set nu
  line 87
  < set usershell = `getent passwd ${user} | awk -F: '{print $NF}'`

  ---
  > #set usershell = `getent passwd ${user} | awk -F: '{print $NF}'`
  set usershell = bash
20) esc
21) :wq
22) ./userconfig
    emacs -> vi
23) 
Do you want to continue (Y/n)? y
24) Edit .rhosts file now? (y/N) N
25) vi ~/.bashrc
26) :set nu
  < 
ulimit -s unlimited
  ---
  > #ulimit -s unlimited
27) esc
28) :wq
29) source ~/.bashrc

30) ./w2web
[1] http://www.wien2k.at/reg_user/faq/OptimizingWIEN2k.htm
----------
¡ WIEN2k (WIEN2k_14.2)
0) cd ~
1) mkdir WIEN2k_14

2) cd WIEN2k_14
3) cp $HOME/Downloads/WIEN2k_14.2.tar .
4) tar -xvf WIEN2k_14.2.tar
5) gunzip *.gz
6) chmod +x ./expand_lapw
7) ./expand_lapw
8) continue (y/n) y
9) ./siteconfig_lapw
10) 
continue or stop (c/s) c
11) v
12) gfortran
13) gcc
14) 
Current settings:
 O   Compiler options:        -ffree-form -O2 -ffree-line-length-none -m64 -mtune=native -msse4.2
 F   FFTW options:            -DFFTW3 -I/usr/local/include
 L   Linker Flags:            $(FOPT) -lfftw3_mpi -lfftw3_threads -lfftw3 -L/usr/local/lib -L../SRC_lib -L/opt/OpenBLAS/lib
 P   Preprocessor flags       '-DParallel'
 R   R_LIB (LAPACK+BLAS):     -llapack_lapw -lopenblas -lpthread -fopenmp
 FL  FFTW_LIBS:               -lfftw3_mpi -lfftw3 -L/usr/local/lib
15) 
   1. Shared Memory Architecture? (y/n): y

   2. (like taskset -c). Enter N / your_specific_command:
   3. You need to KNOW dedtails about your installed MPI and FFTW ) y
   4. Set MPI_REMOTE to 0 / 1:
   5. Your compiler: mpif90
   6. Please specify whether you want to use FFTW3 (default) or FFTW2  (FFTW3 / FFTW2)

     FFTW3
   7. Please specify the ROOT-path of your FFTW installation (like /opt/fftw3):

     /usr/local
   8. is this correct? enter Y (default) or n: y
   9. Current settings:
      FPOPT(par.comp.options)  
-ffree-form -O2 -ffree-line-length-none -m64 -mtune=native -msse4.2
      RP_LIB(SCALAPACK+PBLAS): -lscalapack $(R_LIBS)
16) q
17) a
-----( lapwso error case start)
1. cd
SRC_lapwso
2. vi modules.F
3. / rc_index
(many time push n)
(line 372 and 559)
< INTEGER,allocatable :: rc_index(:,:,:)
< integer,allocatable :: rc_index_up(:,:,:),rc_index_dn(:,:,:)
-----
> LOGICAL,allocatable :: rc_index(:,:,:)
> logical,allocatable :: rc_index_up(:,:,:),rc_index_dn(:,:,:)
-----
4. cd ..
5. ./siteconfig
6. r
7. s
8. lapwso
-----( lapwso error case end)
18) vi userconfig
19) :set nu
  line 87
  < set usershell = `getent passwd ${user} | awk -F: '{print $NF}'`

  ---
  > #set usershell = `getent passwd ${user} | awk -F: '{print $NF}'`
  set usershell = bash
20) esc
21) :wq
22) ./userconfig
    emacs -> vi
23) 
Do you want to continue (Y/n)? y
24) Edit .rhosts file now? (y/N) N
25) source ~/.bashrc
26) ./w2web
[1] http://www.wien2k.at/reg_user/faq/OptimizingWIEN2k.htm
-----

  gnuplot[1] 
0. cd ~
1. gnuplot-4.6.6.tar.gz : 
http://www.gnuplot.info -> Download -> http://www.gnuplot.info/download.html -> Primary download site on SourceForge
2. tar zxvf $HOME/Downloads/gnuplot-5.0.0.tar.gz
3. cd gnu*
4. ./configure -with-readline-builtin --enable-history-file
5. make
6. sudo make install

[1] http://macwiki.sourceforge.jp/wiki/index.php/gnuplot

  ghostscript
1. download [Ghostscript 9.15 Source]: http://www.ghostscript.com/download/gsdnld.html
2. tar zxvf $HOME/Downloads/ghostscript-9.15.tar.gz
3. cd ghost*
4. configure
5. make
6. sudo make install
using: gs dosplot_1.ps

ž w2web‚̏‘‚«Š·‚¦
x ‚ÌCƒVƒFƒ‹ƒvƒƒOƒ‰ƒ€‚ª“®‚©‚È‚¢B‚»‚Ì‚½‚߁A‘‚«Š·‚¦‚ð‹­s‚µ‚½B
SRC_w2web/htdocs/exec ‚Å‚Ì.plƒtƒ@ƒCƒ‹‚ŁAu"xv ‚ð u"x_lapwv‚É’uŠ·‚·‚éB

¦ ‚±‚ê‚Íx ‚Æ x_lapw ‚ª‘S‚­“¯‚¶“à—e‚̃tƒ@ƒCƒ‹‚¾‚©‚ç‚Å‚ ‚éB
E ’uŠ·‚·‚éƒtƒ@ƒCƒ‹F initlapw.pl, dos.pl, band.pl(•ÏŠ·ŒãA"x_lapwcrysden"‚ð"xcrysden"‚É’uŠ·‚·‚é), fphonons.pl, optic.pl, optimize.pl, rho_save.pl, rho.pl, single.pl, telnes2.pl, telnes3.pl, xspec.pl(•ÏŠ·ŒãA"x_lapwspec"‚ð"xspec"‚É’uŠ·‚·‚é)
Eexample
1. cd ~/WIEN2k_14/SRC_w2web/htdocs/exec
2. vi
band.pl
3. :%s/"x/"x_lapw/g
4. :%s/"x_lapwcrysden"/"xcrysden"/g
5. :wq
[1] http://uguisu.skr.jp/Windows/vi.html (ƒtƒ@ƒCƒ‹‚Ì’†‚Ì‘S‚Ä‚ÌŒŸõŒê‹å‚ð[old]‚ð[new]‚É’uŠ·‚·‚é  :%s/old/new/g )

ž reload in reverse order ‚ªãŽè‚­“®ì‚µ‚È‚¢ê‡
vi ~/.bashrc ‚ɂāAalias tac=tail -r ‚ð’ljÁ‚·‚é‚©ASRC_w2web/htdocs/util/dayfile.pl ‚â stdout.pl‚ɂāA$umps = qx( tac $DIR/$CASE.dayfile ); ‚ð $umps = qx( tail -r $DIR/$CASE.dayfile ); ‚É‚·‚éB
¦ STDOUT‚ÍSTDOUTƒtƒ@ƒCƒ‹‚ªo—Í‚³‚ê‚Ä‚¢‚È‚¢‚Ì‚ÅŒ©‚ê‚È‚¢B


ž –ˆ‰ñ source ~/.bashrc ‚ð“ü—Í‚·‚é‚Ì‚ª–Ê“|‚ȏꍇ[1]
1. vi ~/.bash_profile
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
2. :wq
[1] https://gist.github.com/disktnk/4104284

  DOS‰æ‘œ‚Ì•\Ž¦•û–@
1. cd ~/WIEN2k_14/SRC_w2web/htdocs/exec
2. vi dos.pl
3. :set nu
4. /$umps
5. i
line 420
#       $umps = qx(gs -sDEVICE=jpeg -sOutputFile=$plotfile.jpg -dBATCH -dNOPAUSE $DIR/dos.ps);
        $umps = qx(gs -sDEVICE=jpeg -sOutputFile=$plotfile.jpg -dBATCH -dNOPAUSE -r60 -g500x350 -c -20 450 translate 0.8 0.8 scale -90 rotate -f $tempdir/$SID-$$.ps);
        $OUT .= "<br><IMG SRC=/tmp/$SID-$$.jpg><br clear=all>";
#       $OUT .= "<A HREF= /tmp/$SID-$$.ps>Download hardcopy in PostScript format
        $OUT .= "Download hardcopy in PostScript format
> ";
6. esc
7. :wq


1. cd ~/WIEN2k_14
2. vi dosplot2_lapw
3. :set nu
4. /set terminal png
5. i
old
-----
756 set terminal png
757 set output "$out.png"

new
-----
#set terminal png
#set output "$out.png"
set terminal postscript
set output "$out.ps"
6. esc
7. :wq
¦ 
-r60 -g500x350F‘å‚«‚³‚Æ•\Ž¦”͈͂ðŽw’肵‚Ä‚¢‚éB[1]
¦ -c -20 800 translate 0.8 0.8 scale -90 rotateFŒ´“_ˆÊ’u‚ÆŽÚ“xA‰ñ“]‚ðŽw’肵‚Ä‚¢‚éB[2]
¦  $tempdir = ~/.w2web/xxxxxxx-xxxx/tmp
[1] http://ghostscript.com/doc/7.07/Use.htm
[2] http://denki.nara-edu.ac.jp/~yabu/soft/ps.html

-------------------------------------------------------------------------------
¡ VESTA
1. downloads:
http://jp-minerals.org/vesta/jp/download.html
2. double click: VESTA.dmg

¡ WIEN2k ‚Å [view struct] (VESTA)‚𓮍삳‚¹‚½‚¢ê‡
1. vi ~/WIEN2k_14/SRC_w2web/htdocs/util/viewxcrys.pl
old
-----
$umps = qx(echo $DISPLAY && cd $DIR && ${XCRYSDENDIR}xcrysden --wien_struct $DIR  &);
$OUT .= <<__STOP__;

new
-----

#$umps = qx(echo $DISPLAY && cd $DIR && ${XCRYSDENDIR}xcrysden --wien_struct $DIR  &);
@filename = split(/\//,$DIR);
$umps = qx(echo  @filename);
$umps = qx(echo $DISPLAY && cd $DIR && /Volumes/VESTA/VESTA/VESTA.app/Contents/MacOS/VESTA $DIR/$filename[4]".struct"  &);
$OUT .= <<__STOP__;
2. esc
3. :wq


¦ ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚É VESTA.app ‚ð’u‚¢‚½ê‡‚́A
$umps = qx(echo $DISPLAY && cd $DIR && /Volumes/VESTA/VESTA/VESTA.app/Contents/MacOS/VESTA $DIR/$filename[4]".struct"  &);
‚ð‰º‹L‚̂悤‚É‚·‚éB
$umps = qx(echo $DISPLAY && cd $DIR &&/Applications/VESTA.app/Contents/MacOS/VESTA $DIR/$filename[4]".struct"  &); ‚Æ‚·‚éB
-------------------------------------------------------------------------------
QRƒR[ƒh
Œg‘Ñ—pQRƒR[ƒh
ƒAƒNƒZƒX”
ƒy[ƒWƒrƒ…[”