VisIt
Download and install VisIt, version 3.1.x or 2.13.x.
In order to be able to visualize results produced by W-SLDA Toolkit you need to compile the plugin. The plugin must be placed on a system where VisIt server will be launched.
Video tutorial (YouTube) showing how to install VisIt and connect it with a remote machine.
Installing W-data plugin on your local system
Follow instruction from this file.
Below we provide examples of the compilation process on selected systems.
Andes
Compiling plugin onmodule load cmake
cd cold-atoms/lib-wdata/
g++ -O3 -c wdata.c -fPIC
ar crf libwdata.a wdata.o
cp libwdata.a visit-plugin/
cd visit-plugin/
/sw/andes/visit/bin/xml2cmake -v 3.1 -clobber wdata.xml
rm CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE:STRING=Debug
make
Daint
Compiling plugin onBefore you start compilation make sure that you can connect without typing password from ela.cscs.ch
to daint101.cscs.ch
:
[gabrielw@dell ~]$ ssh ela.cscs.ch
Enter passphrase for key '/home/gabrielw/.ssh/id_ed25519':
[gabrielw@ela1 ~]$ ssh daint101.cscs.ch
gabrielw@daint101:~>
If not use ssh-keygen
& ssh-copy-id daint101.cscs.ch
.
Next execute on daint101.cscs.ch
:
module load daint-mc
module load Visit
cd cold-atoms/lib-wdata
make
cp libwdata.a visit-plugin/
cd visit-plugin
xml2cmake -clobber wdata.xml
rm CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE:STRING=Debug
make
Setting host files
After first start of VisIt it will create folder with settings. In case of linux system it is hidden folder .visit
in your home directory. Copy to this folder files with configurations of hosts:
[gabrielw@dell MyProjects]$ cd cold-atoms/lib-wdata/visit-plugin/
[gabrielw@dell visit-plugin]$ cp -r hosts/ ~/.visit/
[gabrielw@dell visit-plugin]$ ls ~/.visit/hosts/
host_dwarf66.xml host_rhea.xml
Edit xml file (with text editor) and set correct user name for target machine (if userName=notset
then VisIt will use your local account user name):
<Field name="userName" type="string">notset</Field>
Having these files you should be able to connect to remote servers:
To check if VisIt works correctly, try to open example data:
- File -> Open File
- Select as host:
dwarf66
(you will be asked for password) - Select file:
/home2/archive/visit/example-vortices/run1c.wtxt
- In
Plots
section: Add -> Pseudocolor ->delta_abs
- Click
Draw
. You should see: