"Start using the 1D program" 修訂間的差異
行 57: | 行 57: | ||
./ddcc.exe xxxxx.inp (Linux) |
./ddcc.exe xxxxx.inp (Linux) |
||
− | [[檔案:1D-ddcc-fig-2|width=450]] |
+ | [[檔案:1D-ddcc-fig-2.png|width=450]] |
If you want to run the simulation program in Linux cluster, please find libiomp.5.so (usually installed in your cluster's library path) file to be put in the environment path. If you are familiar with input file format, you |
If you want to run the simulation program in Linux cluster, please find libiomp.5.so (usually installed in your cluster's library path) file to be put in the environment path. If you are familiar with input file format, you |
於 2021年3月27日 (六) 16:38 的修訂
Please download the program. The program is usually a zip file. For example NTU-ddcc-1d-09072020.zip. Then extract the file. you can find the file list
1D-ddcc-mac.exe am.csv createTable.m ddcc-win32.exe ddcc-win64.exe ddcc.exe ddcc_1d.fig ddcc_1d.m default_icon.ico GaAs-absorption.dat libiomp5.dylib libiomp5md.dll Material.mat NTU_DDCC1D.exe readme.txt resultopen.fig resultopen.m splash.png
The *.m, *.fig, and *.mat are Matlab gui program source code. If your matlab is installed. Turn on the Matlab, and goes to the extracted folder. and execute ddcc_1d.m. Then the Matlab GUI will come out and you can start to use the GUI.
If you don't have matlab, The download site will give you advisement to download the Matlab run time library. For example, if the program is compiled by
Matlab 2017 b.
Please go to download
https://ssd.mathworks.com/supportfiles/downloads/R2017b/deployment_files/R2017b/installers/win64/MCR_R2017b_win64_installer.exe
This run time library is provided by Matlab. If the site is changed, please google to search the alternative download site.
After the run-time library is installed, please execute the file
NTU_DDCC1D.exe
The the GUI interface should popup for use.
The Matlab GUI is mainly assist you to generate the input file to run 1D-DDCC. The execution file of 1D-DDCC depends on your OS. For windows 64 bit, the execution file is
ddcc-win64.exe
For Linux user, the execution file is
ddcc.exe
For mac user, the execution file is
1D-ddcc-mac.exe
The way to execute the 1D simulation program with input file named as xxxxx.inp is simply typing
ddcc-win64.exe xxxxx.inp (windows 64) ./1D-ddcc-mac.exe xxxxx.inp (MAC) ./ddcc.exe xxxxx.inp (Linux)
If you want to run the simulation program in Linux cluster, please find libiomp.5.so (usually installed in your cluster's library path) file to be put in the environment path. If you are familiar with input file format, you don't need Matlab GUI interface.