Matlab/en: Różnice pomiędzy wersjami
m |
m |
||
(Nie pokazano 3 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
− | <small>< [[Podręcznik użytkownika KDM|HPC User Guide]] < [[Oprogramowanie KDM/en|Software]] < [[Oprogramowanie naukowe/en|Scientific Packages]] < Matlab</small> | + | [[Plik:pl.jpg|right|link={{#titleparts: {{PAGENAME}} | 1 }}]] |
+ | <small>< [[Podręcznik użytkownika KDM/en|HPC User Guide]] < [[Oprogramowanie KDM/en|Software]] < [[Oprogramowanie naukowe/en|Scientific Packages]] < Matlab</small> | ||
{{aplikacja-en|nazwa=Matlab|logo=[[Grafika:Matlab1.png]]|serwer=[[Supernova]]|wersja=R2013a|wersja2=R2012a|serwer2=[[Klaster kampusowy|Platon-U3]]|wersja21=R2013a}} | {{aplikacja-en|nazwa=Matlab|logo=[[Grafika:Matlab1.png]]|serwer=[[Supernova]]|wersja=R2013a|wersja2=R2012a|serwer2=[[Klaster kampusowy|Platon-U3]]|wersja21=R2013a}} | ||
'''MATLAB''' is a high-level language and interactive environment for numerical computation, visualization, and programming. | '''MATLAB''' is a high-level language and interactive environment for numerical computation, visualization, and programming. | ||
Linia 60: | Linia 61: | ||
== Running MATLAB on your own computer == | == Running MATLAB on your own computer == | ||
WCSS enables installing and running MATLAB on user's own computer. It requires: | WCSS enables installing and running MATLAB on user's own computer. It requires: | ||
+ | # Configuring VPN to access license server (see [[Korzystanie z VPN/en|instructions]]), | ||
# Installing MATLAB in a network mode (see instructions: [http://www.mathworks.com/access/helpdesk/help/base/install/pc/ch2_con4.html network installation]); WCSS may provide the installation pack and required PLP code - [[Kontakt/en|contact]] administrators to get them. | # Installing MATLAB in a network mode (see instructions: [http://www.mathworks.com/access/helpdesk/help/base/install/pc/ch2_con4.html network installation]); WCSS may provide the installation pack and required PLP code - [[Kontakt/en|contact]] administrators to get them. | ||
# Configuring MATLAB to use license server at WCSS (configuration depends on your operating system, see sections below). | # Configuring MATLAB to use license server at WCSS (configuration depends on your operating system, see sections below). | ||
− | |||
==== Installation: Windows ==== | ==== Installation: Windows ==== | ||
Linia 68: | Linia 69: | ||
* Before the installation: | * Before the installation: | ||
** Make sure you received the PLP code from WCSS. | ** Make sure you received the PLP code from WCSS. | ||
+ | ** Connect to the VPN | ||
** Create a new text file in any location and any name, e.g. matlab-license-wcss.txt (don't move the file after installing MATLAB); The file should contain two following lines: | ** Create a new text file in any location and any name, e.g. matlab-license-wcss.txt (don't move the file after installing MATLAB); The file should contain two following lines: | ||
:: '''SERVER menkar.wcss.pl 0007e905907d 27002''' | :: '''SERVER menkar.wcss.pl 0007e905907d 27002''' | ||
Linia 79: | Linia 81: | ||
* Before the installation: | * Before the installation: | ||
** Make sure you received the PLP code from WCSS. | ** Make sure you received the PLP code from WCSS. | ||
+ | ** Connect to the VPN | ||
** Set an environmental variable <code>LM_LICENSE_FILE</code>: | ** Set an environmental variable <code>LM_LICENSE_FILE</code>: | ||
::Shells: csh, tcsh: | ::Shells: csh, tcsh: | ||
Linia 110: | Linia 113: | ||
{{oprogramowanie}} | {{oprogramowanie}} | ||
+ | [[Kategoria:HPC User Guide]] | ||
[[Kategoria:Oprogramowanie]] | [[Kategoria:Oprogramowanie]] | ||
[[Kategoria:Podręcznik użytkownika]] | [[Kategoria:Podręcznik użytkownika]] |
Aktualna wersja na dzień 13:24, 20 lut 2015
< HPC User Guide < Software < Scientific Packages < Matlab
Matlab | |
---|---|
Server | Version |
Supernova | R2013a R2012a |
Platon-U3 | R2013a |
Contact | |
kdm@wcss.pl |
MATLAB is a high-level language and interactive environment for numerical computation, visualization, and programming.
License at WCSS
WCSS provides a research license for MATLAB R2013a for Linux systems (x86, x86_64), Mac (Intel) and Windows (Server 2008, Server 2008R2, XP SP3, Vista, 7). Please contact administrators to get access to installation pack. Package requirements are listed: http://www.mathworks.com/support/sysreq/
WCSS license includes additional toolboxes (with corresponding number of licenses):
|
|
Running MATLAB on Supernova Cluster
MATLAB is available on Supernova (installation path respectively: /usr/local/matlab-VERSION).
Interactive work and GUI
To run a GUI you need to login to Supernova with X11 forwarding. Then run an interactive job (-I option) with X11 forwarding (-X option) in a convenient PBS queue, load a module to set proper environment for MATLAB, an run the application:
> ssh -X username@sn.wcss.pl sn> qsub -I -X -q short6h sn> module load matlab sn> matlab
Running batch jobs in a queue
To submit MATLAB batch job to a queue you need input files. You may prepare them working interactively on Supernova (as described above) or locally on your computer. If you prepared your input files on your computer transfer them to Supernova (using e.g. SCP or WinSCP). Then login to Supernova and submit jobs (you may use qsub
or a script sub-matlab
)
> scp input-file.inp username@sn.wcss.pl: > ssh username@sn.wcss.pl sn> sub-matlab input-file.inp
More about qsub
you'll find on this page.
Running MATLAB on your own computer
WCSS enables installing and running MATLAB on user's own computer. It requires:
- Configuring VPN to access license server (see instructions),
- Installing MATLAB in a network mode (see instructions: network installation); WCSS may provide the installation pack and required PLP code - contact administrators to get them.
- Configuring MATLAB to use license server at WCSS (configuration depends on your operating system, see sections below).
Installation: Windows
Follow these steps:
- Before the installation:
- Make sure you received the PLP code from WCSS.
- Connect to the VPN
- Create a new text file in any location and any name, e.g. matlab-license-wcss.txt (don't move the file after installing MATLAB); The file should contain two following lines:
- SERVER menkar.wcss.pl 0007e905907d 27002
- USE_SERVER
- Run the installation and:
- Provide the PLP code.
- Point to the license file prepared in the first step.
Installation: Linux/UNIX
Follow these steps:
- Before the installation:
- Make sure you received the PLP code from WCSS.
- Connect to the VPN
- Set an environmental variable
LM_LICENSE_FILE
:
- Shells: csh, tcsh:
- > setenv LM_LICENSE_FILE "27002@menkar.wcss.pl"
- Shells: sh, bsh, bash, ksh, ...:
- > export LM_LICENSE_FILE="27002@menkar.wcss.pl"
- Shells: csh, tcsh:
- Run the installation and:
- Provide the PLP code.
You may check if your MATLAB properly connects to the license server:
- > path/to/installation/directory/matlab/etc/lmstat -a -c 27002@menkar.wcss.pl
Running jobs remotely on Supernova
If you have MATLAB installed on your computer you may configure it to submit jobs remotely on Supernova directly from the MATLAB GUI.
To configure MATLAB follow these steps:
- Download the [zip archive] and unzip it to one of the locations searched by MATLAB (list of these locations you may check in GUI: Environment -> Set Path),
- Download the [zip archive] and unzip it in any location (the file Supernova.settings from the archive will be needed in the following step),
- Click Environment -> Parallel -> Manage Cluster Profiles,
- In the Manage Cluster Profiles window click onAdd -> Import,
- Point to the location of the file Supernova.settings,
- Select the option Supernova on the list Cluster Profile and click on Edit,
- Go to SubmitFunctions section and change the 3rd parameter from default /home/tyciu to /home/username, where username is your username on Supernova,
- Click on Done.
Documentation
See also: Software
Oprogramowanie naukowe |
Abaqus ⋅ ABINIT ⋅ ADF ⋅ Amber ⋅ ANSYS [ ANSYS CFD: Fluent, CFX, ICEM; Mechanical ] ⋅ AutoDock ⋅ BAGEL ⋅ Beast ⋅ Biovia [ Materials Studio, Discovery Studio ] ⋅ Cfour ⋅ Comsol ⋅ CP2K ⋅ CPMD ⋅ CRYSTAL ⋅ Dalton ⋅ Dask ⋅ DIRAC ⋅ FDS-SMV ⋅ GAMESS ⋅ Gaussian ⋅ Gromacs ⋅ IDL ⋅ Lumerical [ FDTD, MODE ] ⋅ Mathcad ⋅ Mathematica⋅ Matlab ⋅ Molcas ⋅ Molden ⋅ Molpro ⋅ MOPAC ⋅ NAMD ⋅ NBO ⋅ NWChem ⋅ OpenFOAM ⋅ OpenMolcas ⋅ Orca ⋅ Quantum ESPRESSO ⋅ R ⋅ Rosetta ⋅ SIESTA ⋅ Tinker ⋅ TURBOMOLE ⋅ VASP ⋅ VMD ⋅ WIEN2k |
---|