====== COR@L User Guide ====== This page contains instructions and guidelines for COR@L users for accessing the resources available in the laboratory. These instructions are far from comprehensive but represent a basic guide for getting started. We hope you find these guidelines to be helpful on your path to becoming an expert on the tools you need in your research. Feel free to contact [[bsuresh@lehigh.edu|Suresh Bolusani]] if you have any questions or suggestions for additions to this page. ===== Getting Started with Linux ===== If you are new to Linux, then you may find the following links to be useful. * [[https://help.ubuntu.com/10.04/basic-commands/C/|Introduction to the command line in Ubuntu]] * [[http://www.tldp.org/LDP/intro-linux/html/|Introduction to Linux]] * [[http://www.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html|Introduction to Emacs]] * [[http://www.gnu.org/software/make/manual/make.html|Manual for GNU make]] ===== Logging into COR@L =====

Every user with a COR@L account can access the machines listed here using her/his username and password. However, if you are outside Lehigh’s network, then you need to connect to Lehigh VPN Concentrator or use the Lehigh Linux Jumphost - ssh.lehigh.edu. Please reference the Lehigh VPN Wiki page for guidance. Once you are on the VPN or connected to the Jumphost you can connect to cluster directly from your host (vpn) or jumphost. The only host you should be connecting to for cluster work is polyps.ie.lehigh.edu

Linux users

If you are a Linux user, then logging into COR@L is straightforward. The following command uses ssh, which is typically available on standard Linux distributions:

ssh username@machinename.ie.lehigh.edu

Your COR@L username and password are the same for all machines. COR@L uses NIS to manage passwords, so passwords can be at most 8 characters long. Any extra characters will be ignored. If you wish to change your password, then do not use the passwd command. Use yppasswd instead.

Windows users

If you are using Windows and want to sign into a COR@L machine, then you need to install an ssh client first. There are several free software options. You can check Wikipedia for more information about your choices. A common free ssh client is PuTTY, which can be downloaded here. This ssh client is easy to use and it is well documented here. Another commonly used client is MobaXterm.

Back

===== Data Best Practices ===== The file server is backed up to an external hard drive adjacent to the storage node, but as a best practice to prevent against catastrophic loss of data, especially for data that you can not afford to lose, would be to duplicate your data on another host or resource. Lehigh University offers a few options for cloud storage: * [[https://confluence.cc.lehigh.edu/display/LKB/Google+Drive+-+an+Introduction|Google Drive]] - Available to all Lehigh University Faculty, Staff, and Students * [[https://lts.lehigh.edu/services/dropbox|Dropbox]] - Lehigh University offers Dropbox accounts that can be used for archival and project related work. ===== Compiling Programs ===== Eclipse is available on all machines. Use gcc to compile C programs, g++ to compile C++ programs, and f77 to compile Fortran programs. gdb may be used for debugging. valgrind may be used to check for memory leaks. [Purify/Quantify] are also available for checking memory leaks and for profiling. ===== Optimization Software =====

Below is a list of the tools available for supporting optimization research at COR@L.

Solvers:

Modeling:

Back

===== Coin-all in mac =====

This is a description of the steps followed to install coin-or on a OS X Mountain Lion using macports:

  1. Install macports, there is a nice installation guide in this link
  2. Install gcc47: To do this open a terminal and type “sudo port install gcc47″.
  3. Install subversion: “sudo port install subversion”.
  4. Download coin-all: svn co https://projects.coin-or.org/svn/CoinBinary/CoinAll/stable/1.6 coin-all
  5. Move to directory coin-all and do “mkdir buildmac”
  6. Download all the Third Party sources. Got to the ThirdParty folder and run the get script for: ASL, Blas, Lapack, Mumps, Metis, Glpk
  7. Move to the directory buildmac
  8. Run the configure script (This command is taken from link):
    ../configure –disable-shared F77=gfortran-mp-4.7 FFLAGS=”-fexceptions -m64 -fbackslash” CFLAGS=”-fno-common -no-cpp-precomp -fexceptions -m64″ CXXFLAGS=”-fno-common -no-cpp-precomp -fexceptions -m64″

  9. make tests (the DyLP test fails, rename the folder DyLP/test to DyLP/test.back if you want to run the other tests)
  10. make install, remember that you need to use the option -prefix=/path/to/install if you want to specify a particular path to install the binaries
===== Using Torque on COR@L ===== PBS Torque is the batch queueing system on Cor@l. Torque is backed up by the Maui Scheduler. Please reference the Torque tutorial page. Condor has been retired. Check out the tutorial: [[:tutorial:torque]]

===== Using CONDOR on COR@L ===== Also, check the main thread: [[:condor|CONDOR]]