User Tools

Site Tools


mtl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mtl [2011/02/26 15:08] franckmtl [2015/12/14 18:57] (current) malsabbagh
Line 1: Line 1:
 ====== Intel's Manycore Testing Lab ====== ====== Intel's Manycore Testing Lab ======
  
-===0. Agreement===+=== Agreement ===
  
 By using MTL you agree that you have read and understood the  By using MTL you agree that you have read and understood the 
 {{private:agreement.pdf|Manycore Testing Lab Remote Access Agreement}}. {{private:agreement.pdf|Manycore Testing Lab Remote Access Agreement}}.
  
-===1. How to connect to MTL===+=== How to change your password ===
  
-MTL has registered one of York's IP addresses to their system, so we can connect through //"Direct IP."// The IP address registered is indigo.cse.yorku.ca, so to connect to MTL, we need to connect to indigo first. If you're using the computer on campus, open terminal and type **''ssh indigo''** (doesn't need username and password). If you connect from home, use an ssh client to connect to **''indigo.cse.yorku.ca''**, then login with your cse account and password.+Use the command passwd to change your password. 
 + 
 +=== How to connect to MTL === 
 + 
 +MTL has registered one of York's IP addresses to their system, so we can connect through //"Direct IP."// The IP address registered is indigo.cs.yorku.ca, so to connect to MTL, we need to connect to indigo first. If you're using the computer on campus, open terminal and type **''ssh indigo''** (doesn't need username and password). If you connect from home, use an ssh client to connect to **''indigo.cs.yorku.ca''**, then login with your EECS account and password.
  
 From indigo, we can connect to MTL using this command: From indigo, we can connect to MTL using this command:
-  ssh -l username 192.55.51.81+  ssh -l username 207.108.8.131
  
 The username and password will be provided by email.  The username and password will be provided by email. 
Line 17: Line 21:
   /home/username/   /home/username/
  
-===2. How to transfer file(s) from/to MTL===+=== How to transfer file(s) from/to MTL ===
  
 We can transfer files between our home directory at indigo and our home directory on MTL using scp command. We can transfer files between our home directory at indigo and our home directory on MTL using scp command.
  
 Copying from MTL to indigo: Copying from MTL to indigo:
-  scp <username>@<host_ip>:<file_path_on_MTL> <file_path_on_indigo>+  scp username@207.108.8.131:<file_path_on_MTL> <file_path_on_indigo>
 Copying from indigo to MTL: Copying from indigo to MTL:
-  scp <file_path_on_indigo> <username>@<host_ip>:<file_path_on_MTL>+  scp <file_path_on_indigo> username@207.108.8.131:<file_path_on_MTL>
  
 If we want to transfer a file to our current active directory, we can just type a single dot (.) If we want to transfer a file to our current active directory, we can just type a single dot (.)
  
-**Here are several examples:**\\ +== Here are several some examples ==
-copy 1 file from MTL to local +
-  scp username@192.55.51.81:/home/username/myfolder/myfile.java . +
-copy the whole folder + subfolder from MTL to local +
-  scp -r username@192.55.51.81:/home/username/myfolder/+
-copy several files from MTL to local +
-  scp username@192.55.51.81:/home/username/myfolder/\{myfile_1.java,myfile_2.java\} . +
-copy all files in current active directory (local) to MTL +
-  scp * username@192.55.51.81:/home/username/myfolder/+
  
-===3How to run an experiment===+Copy 1 file from MTL to indigo 
 +  scp username@207.108.8.131:/home/username/myfolder/myfile.java . 
 +Copy the whole folder + subfolder from MTL to indigo 
 +  scp -r username@207.108.8.131:/home/username/myfolder/
 +Copy several files from MTL to indigo 
 +  scp username@207.108.8.131:/home/username/myfolder/\{myfile_1.java,myfile_2.java\} . 
 +Copy all files in current active directory (local) to MTL 
 +  scp * username@207.108.8.131:/home/username/myfolder/
  
 +[[http://winscp.net/eng/index.php|WinSCP]] is a very nice freeware SCP/FTP/SFTP package for Windows.  (It also has it's own embedded SSH terminal, but it's not terribly useful.)  With WinSCP, you can connect to MTL from your home computer and drag and drop to upload/download files.
 +
 +To connect to MTL with WinSCP, set up a session with MTL's IP as the host, and your MTL username/password.  Then, before you save/connect to the session and close the window, set it up to tunnel through indigo to MTL by clicking the "Tunnel" item in the tree-pane on the left, and checking "Connect through SSH tunnel," entering "indigo.cs.yorku.ca" as host, and your EECS username/password.  After this, you can interact with the file structure on MTL as if it were a part of your local file-system.
 +
 +=== How to run an experiment ===
 +
 +<html>
 +<!--
 MTL consist of one login machine, and two experiment machines. To run a program on the experiment machine, we should submit a script to the batch system using this command: MTL consist of one login machine, and two experiment machines. To run a program on the experiment machine, we should submit a script to the batch system using this command:
   qsub <script_name>   qsub <script_name>
  
-**Here's a sample of a script:**+== Here's a sample of a script == 
   #!/bin/sh   #!/bin/sh
   #PBS -l ncpus=32   #PBS -l ncpus=32
   #PBS -l mem=12gb   #PBS -l mem=12gb
-  #PBS -l walltime=03:00:00+  #PBS -l walltime=01:00:00
   #PBS -N some-job-name   #PBS -N some-job-name
      
Line 57: Line 69:
   $java myJavaProgram   $java myJavaProgram
  
-**Note:**\\+== Note == 
 The latest version of Java is not the default JVM, so we should specify the full path **''/opt/java/latest/bin/java''**. Wall time is the maximum time that your experiment may run. Setting this value can help terminate your job in case it deadlocks or gets into an infinite loop. The latest version of Java is not the default JVM, so we should specify the full path **''/opt/java/latest/bin/java''**. Wall time is the maximum time that your experiment may run. Setting this value can help terminate your job in case it deadlocks or gets into an infinite loop.
 +-->
 +</html>
 +
 +More information can be found in {{private:guide.pdf|this}} guide and
 +{{:mtl_tutorial.pdf|this}} guide.
  
-More information can be found in {{private:guide.pdf|this}} guide.+=== Maximum number of CPUs and threads ===
  
-===4Maximum number of CPUs and threads===+The MTL machine has 32 cores with hyperthreading, but the hyperthreading option is turned off, so practically there are only 32 physical threadsThe system itself has a limit of 150 threads, so make sure your program's thread count doesn't exceed that number. Don't forget that the experiment machine also needs some threads to run the OS, etc, so it's best to keep your program to use at most 140 threads.
  
-The MTL machine has 32 cores with hyperthreading, but the hyperthreading option is turned off, so practically there are only 32 physical threads. The system itself has a limit of 150 threads, so make sure your program's thread count doesn't exceed that number. Don't forget that the experiment machine also needs some threads to run the OS, etc, so it's best to keep your program to use only 140-ish threads.+=== Questions ===
  
 +The forum {{http://software.intel.com/en-us/forums/intel-manycore-testing-lab/|Intel® Manycore Testing Lab}} provides answers to many questions.
  
 +=== Determine some CPU-Specs ===
  
 +Since the job is executed in somewhat like a black-box after assigning it to the queue, one may ask what is the underlying system. The following Java snippets provide some system information: {{:csystem.txt|}}. Another possibility is to use bash commands. The following file shows an example to get detailed cpu information and current cpu clock-frequency: {{:cpu.txt|}}. The current cpu clock-frequency may vary over execution time due to energy-saving features of the cpu. So, one may check the current cpu clock-frequency several times during the experiment. 
  
 +=== Acknowledging the Intel Manycore Testing Lab in your publications ===
 +{{https://software.intel.com/en-us/forums/intel-manycore-testing-lab/topic/285877|Forum post about acknowledging MTL labs}}
mtl.1298732904.txt.gz · Last modified: 2011/02/26 15:08 by franck