PARADISCYL:How-To-Install

From Micro and Nano Mechanics Group
Revision as of 19:40, 1 October 2008 by Kwkang (talk | contribs) (New page: <H1 ALIGN="CENTER"><FONT SIZE="-1">Manual 01 for ParaDiS Cylinder Codes</FONT> <BR> How to install and complie</H1> <DIV> <P ALIGN="CENTER"><STRONG>Keonwook Kang and Wei Cai</STRONG></P>...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Manual 01 for ParaDiS Cylinder Codes
How to install and complie

Keonwook Kang and Wei Cai

Original date : Oct 1 , 2008

Latest update on Oct 1 , 2008



Overview

TBD

We recommend that you read the manual of public ParaDiS codes beforehand.


Download

Download the latest ParaDiS codes from micro repository site using subversion checkout command.

 $ mkdir ParaDiS
 $ svn co https://micro.stanford.edu/svn/ParaDiS ./ParaDiS

Note that this version of ParaDiS has branched out from the public ParaDiS codes v.2.2 downloadable from the official site. You see there are extra subdirectories such as aniso, cylinder, halfspace, matlab, thinfilm and fem in this version of ParaDiS codes. Each subdirectory contains additional source codes for its own purpose. For example, source codes in cylinder directory enable to run ParaDiS simulation of dislocations inside cylindrical geometry taking account of the image stress and Yoffe stress.


Complie

Move into cylinder subdirectory.

$ mv ParaDiS/cylinder

There is a make description file, makefile, at the top of which, it includes ../makefile.sys and ../makefile.setup from the upper directory.

makefile.sys defines system-dependent compilers and compiling options for different systems such as linux, aix, etc. The pre-defined system types and their descriptions are listed in the head of makefile.sys file.

In makefile.setup file, you can select various 'make' settings and switches, some of which are explained below.

SYS
select system type. ex. SYS = linux
MODE
set serial or parallel mode. ex. MODE = SERIAL
XLIB_MODE
enable or disable xwindow plotting capability. ex. XLIB_MODE = ON
OPT
define optimization level. ex. OPT = -O3

In makefile, there are important macro DEFS values.




Notes