Main Page

From FarmShare

(Difference between revisions)
Jump to: navigation, search
(SSH Tunnel Sharing on Windows)
(System Status)
(109 intermediate revisions not shown)
Line 1: Line 1:
-
<seo metadescription="FarmShare shared computing and HPC resource for Stanford faculty, staff, and students, provided at no cost" metakeywords="farmshare, hpc, free, linux, ubuntu, cluster, matlab, R, MPI, SGE, grid engine, barley, corn, cardinal, timeshares, shared computing"/>
+
FarmShare is Stanford’s community computing environment. It is primarily intended for use in coursework and unsponsored research (note that some software tools, like ANSYS, are only licensed for use on Farmshare for academic course use, not research); users participating in sponsored or departmental research should investigate the [https://sherlock.stanford.edu Sherlock] service or other, local alternatives, instead. FarmShare is ''not'' approved for use with [https://dataclass.stanford.edu high-risk] data, including protected health information and personally identifiable information, and is subject to University [[Policy | policies]] on acceptable use.
-
== FarmShare ==
+
-
This wiki is intended for the users of FarmShare, one of the Stanford shared research computing environments. It comprises the "'''cardinal'''", "'''corn'''", and "'''barley'''" machines. For a general description of this service, and Stanford's shared computing policies, see the main [https://itservices.stanford.edu/service/sharedcomputing service catalog page]. Note that the Corn and Barley systems are largely intended for the use of students for course assignments and small-scale thesis work, and for new researchers as a place for proof-of-concept runs and work until external funding is obtained for infrastructure or services to support more demanding work.  
+
-
Please note that this system is '''not''' HIPAA compliant and should not be used to process any PHI nor PII, nor should it be used as a platform for storing or processing other Restricted or Prohibited data. See https://acp.stanford.edu/hipaa/hipaa-faq for more information.
+
For a description of the current environment, see [[FarmShare 2]]. More information can be found in the [https://srcc.stanford.edu/farmshare2 service documentation].
__NOTOC__
__NOTOC__
-
 
-
'''Most useful pages:
 
-
* [[Special:AllPages]]
 
-
* [[Special:RecentChanges]]
 
-
* [[User Guide]] and [[FAQ]]
 
-
* [[FarmShare tutorial]]
 
-
* [[FarmVNC]]'''
 
-
 
-
 
{| width="100%" cellpadding="20"
{| width="100%" cellpadding="20"
-
|
+
|-
-
| Last 10 messages on Farmshare-Discuss mail list (this month)
+
| style="width: 30%;" | __TOC__
-
|-
+
| style="width: 70%;" | <h3>Recent Messages on [https://mailman.stanford.edu/mailman/listinfo/farmshare-discuss/ farmshare-discuss]</h3><rss>http://web.stanford.edu/group/farmshare/wiki/rss/farmshare-discuss.rss</rss>
-
| style="width: 30%;" | __TOC__
+
|}
-
| style="width: 40%;" | <rss>http://stanford.edu/group/farmshare/wiki/rss/farmshare-discuss.rss</rss>
+
-
|}
+
-
= System Status =
+
== System Status ==
-
System is currently fully operational. Last outage was Sun May 10 3-9PM.
+
Major FarmShare maintenance is scheduled for 8:00 a.m. Wednesday, December 9–5:00 p.m. Tuesday, December 15.
-
= How to connect  =
+
Please note that planned work will require an unusually extended downtime, during which we will be performing deferred hardware maintenance and physically moving FarmShare systems to a new location. All systems will be inaccessible during the maintenance period; please make sure you have completed and saved results from any running jobs, refrain from starting any long-running jobs that might not finish, and log out before the beginning of the maintenance window.
-
The machines are available for anyone with a SUNetID. Simply "ssh corn.stanford.edu" with your SUNetID credentials. The DNS name "corn.stanford.edu" actually goes to a load balancer and it will connect you to a particular corn machine (e.g. corn21) that has relatively low load.  
+
We understand that the long maintenance period may inconvenience some users and ask for your patience while we complete this necessary work.
-
corn SSH fingerprint is:
+
== Getting Started ==
-
  RSA key fingerprint is 0b:e7:b4:95:03:c1:1e:07:df:04:ca:a2:3d:8e:e3:37.
+
-
The "barley" machines are designed to be used for high performance computing (HPC) and only accessible via a resource manager (currently Open Grid Scheduler). You cannot log in directly, but you can submit jobs from any corn. Storage dedicated for jobs running on the barley cluster is available via /farmshare/user_data/ on all corn and barley nodes; it is considered scratch storage and is not backed up. Sign up and email the farmshare-discuss mailing list if you have any questions or would like any info not listed here.
+
Any person with a [https://uit.stanford.edu/service/accounts/sunetids#eligibility full-service] SUNet ID can access FarmShare.
-
= Duo Two-Factor =
+
=== Connecting ===
-
Since Farmshare is open to the world, for extra security we use standard central Stanford two-factor authentication which uses the software from Duo Two-Factor(https://www.duosecurity.com/). You will still need to have a valid Kerberos credential or password in addition to the second factor to authenticate. Once your Kerberos ticket or password is accepted, you will see a second authentication prompt from Duo. It will list device options regarding how to authenticate and you can either choose one, or just enter a passcode generated via the Duo mobile app at the prompt. After a successful second factor authentication you will be greeted with the FarmShare message of the day (motd).  
+
'''Do not connect to <code>farm.stanford.edu</code>.''' While there is such a system, it is ''not'' part of the FarmShare service.
-
In order to avoid having to 'Duo' every time you want to open a new terminal to corn we have a work around for non-Windows users. Add the following lines to your ~/.ssh/config file on your local machine (not on FarmShare) to enable ControlMaster which will create a tunnel on your first login, and will re-use the same tunnel on subsequent connections, thus avoiding Duo after the initial connection. This will only work if you are logging into the same node to which the tunnel was established. Once you are logged onto a corn node, hopping(ssh) to any other corn will '''not''' require Duo again*.
+
Log into <code>rice.stanford.edu</code>. Authentication is by SUNet ID and password (or GSSAPI), and [https://uit.stanford.edu/service/webauth/twostep two-step] authentication is required.
-
+
-
Host corn corn?? corn.stanford.edu corn??.stanford.edu
+
-
  ControlMaster auto
+
-
  ControlPath ~/.ssh/%r@%h:%p
+
-
  ControlPersist yes
+
-
* If you use the 'PreferredAuthentications' options in your .ssh/config, you will need to add  "gssapi-with-mic,hostbased" to the list of PreferredAuthentications OR use "ssh -oPreferredAuthentications=gssapi-with-mic,hostbased cornXX" from the command line to override the .ssh/config file.
+
<source lang="sh">ssh sunetid@rice.stanford.edu</source>
-
* Requires openssh 6.2 or later.
+
-
* [https://web.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/Duo_and_3rd_Party_Clients#SFTP More 3rd Party App information]
+
SSH [https://srcc.stanford.edu/farmshare2/connecting-keys host keys and fingerprints] are available for verification.
-
* [[Advanced Connection Options]]
+
-
= SSH Tunnel Sharing on Windows =
+
For light-duty, interactive work (e.g., e-mail, web browsing and development, file editing, and AFS access or file transfers), log into <code>cardinal.stanford.edu</code>, instead.
-
See 'More 3rd Party App Information' link above.
+
-
= How to get help =
+
<source lang="sh">ssh sunetid@cardinal.stanford.edu</source>
-
== email support ==
+
<code>cardinal</code> systems should ''not'' be used for long-running or compute- and/or memory-intensive work.
-
[[Image:huangsmacc.png|frame]]
+
-
*You can e-mail research-computing-support@stanford.edu 
+
-
**If you're e-mailing about a barley job, please mention that it's on barley and the job number.
+
 +
For more information, see [https://srcc.stanford.edu/farmshare2/connecting Getting Connected] and [[Advanced Connection Options]].
-
== SMACC office hours ==
+
=== User Guide ===
-
[[Image:smacctable.jpg|frame]]
+
-
*You can come to office hours.  Summer 2015 - by appointment.  Spring 2015 was at [http://campus-map.stanford.edu/?id=&lat=37.43476699967559&lng=-122.17429865&zoom=15&srch=Huang%20Engineering%20Center Huang] basement in front of ICME door:
+
The [[User Guide]] has information regarding storage, file-transfer, and cluster configuration. See the [[FAQ]] for common issues, and tips and tricks.
-
**Have a computational or statistical problem that you need help with? Or maybe you have an account on Farmshare or Proclus, and so now what? You have a boatload of data to make sense of, but how? Wonder where you can do your research project, and who can help you? You know what you want to do – but how best to do it, you just aren’t sure. Help is here in the form of SMACC – Stat, Math, Algorithmic and Computational Consulting!  Technical consultants from ICME, Research Computing, Statistics and IRiSS will be available to work with youin the basement of Huang (in front of ICME). One stop shopping for your scientific computing needs.  Rather than poke around web sites and send mail to multiple groups, drop by to catch all of us at once.
+
-
**Details are at [https://www.stanford.edu/group/su-hpc/cgi-bin/mediawiki/index.php/SMACC SMACC]
+
-
Alternatively, the [http://www.stanford.edu/group/ssds/cgi-bin/drupal/content/who-we-are-what-we-do SSDS] campus group can provide one one one guidance for R, SAS and Stata.  Please [mailto:consult-ssds-software@stanford.edu contact them directly] if you have any questions about using those particular software packages.
+
== Support ==
-
== FAQ ==
+
SRCC staff can be reached by e-mail at: [mailto:srcc-support@stanford.edu srcc-support@stanford.edu]. When reporting a problem, please let us know that you're running on FarmShare and report any relevant details, including the full text of any error message you're receiving, and the job ID and contents of your batch script (if applicable).
-
*[[FAQ]]
+
=== Course Instructors ===
-
*[[FarmShare tutorial]]
+
-
*VNC information: [[FarmVNC]]
+
-
*[[Dotfiles|The official new-user bash/tcsh/zsh setup files]]
+
 +
If you are a course instructor using FarmShare for classwork and have any special requests or requirements please contact SRCC at least 30 days before the start of the academic quarter in which the class will be held. We try to accommodate reasonable requests but staff time is limited.
-
= Hardware Resources =
+
=== Discussion List ===
-
== cardinal info  ==
+
Subscribe to the community discussion list, [https://mailman.stanford.edu/mailman/listinfo/farmshare-discuss farmshare-discuss], post questions and concerns to: [mailto:farmshare-discuss@lists.stanford.edu farmshare-discuss@lists.stanford.edu], or browse the [https://mailman.stanford.edu/pipermail/farmshare-discuss/ archives].
-
The "cardinal" machines are small VMs intended for long-running processes (on the order of days) that are not resource intensive, e.g. mail/chat clients. You could log in to a cardinal and run a screen/tmux session there to do things on other machines.
+
=== Office Hours ===
-
Simply "ssh cardinal.stanford.edu" with your SUNetID credentials.  
+
<span style="color: red">In accordance with guidance from the University regarding COVID-19, SMACC office hours have been suspended until further notice.</span> If you need assistance with FarmShare please contact us at srcc-support@stanford.edu.
-
There are currently 3 cardinal machines: cardinal1, cardinal2 and cardinal3, load-balanced via cardinal.stanford.edu.  
+
SRCC participates in [https://web.stanford.edu/group/su-hpc/cgi-bin/mediawiki/index.php/SMACC SMACC] (C2) office hours, held weekly in the basement of [https://campus-map.stanford.edu/?id=04-080&lat=37.42787956&lng=-122.17429865&zoom=17&srch=Huang%20Engineering%20Center Huang Engineering Center], near the [https://icme.stanford.edu ICME] offices.
-
Things you can do on cardinal:
+
SMACC office hours are not held during the Summer Quarter, or during inter-quarter periods.
-
* text based email clients
+
-
* transfer files to and from AFS and your desktop
+
-
* access command line utilities
+
-
== corn info  ==
+
=== SSDS Consulting ===
-
The "corn" machines are general-purpose Ubuntu boxes for research and education, and you can run whatever you want on them (so long as you don't negatively impact other users and the work you are doing is directly connected to the university's academic or research mission). Please read the policies and the motd first.  
+
The [https://ssds.stanford.edu SSDS] group supports statistical software, including R, Stata, and SAS. They are located in the Velma Denning Room in the Bing Wing of [https://campus-map.stanford.edu/?id=03-200&lat=37.42690686&lng=-122.16759602&zoom=17&srch=Green%20Library Green Library] and hold office hours Monday–Thursday, 2–5 PM, starting in the second week of each quarter and ending the last week of classes. SRCC staff are present on the third Tuesday of each month, from 2–4 PM. SSDS office hours are not held during the Summer Quarter.
-
Simply "ssh corn.stanford.edu" with your SUNetID credentials.
+
== Software  ==
-
There are 10 newer corn machines (128G RAM), 20 older corn machines (32G RAM), and 10 oldest corn machines (24G RAM).
+
A variety of useful [[Software | software]], including some popular commercial software, is provided as part of the FarmShare environment. If something is missing, or a particular application, library, or utility needs updating, please let us know. We try to accommodate reasonable requests but staff time is limited.
-
Things you can do on corn:
+
For more information, see [https://srcc.stanford.edu/farmshare2/software Software].
-
* email to stanford addresses only. for general text based email please use the cardinal
+
-
* access command line utilities
+
-
* access desktop environment via [[FarmVNC|VNC]]
+
-
* access developer toolchains (c/c++/java/python/go/julia/etc)
+
-
* run licensed software (mathematica/stata/matlab/gaussian/sas/etc) as described [[FarmShare_software|here]]
+
-
* submit jobs to the Barley cluster
+
-
* basically anything you would do on a desktop Ubuntu system
+
-
other info:
+
=== Packaged Software ===
-
*Policies: http://itservices.stanford.edu/service/sharedcomputing/policies
+
-
*IT services page: https://itservices.stanford.edu/service/sharedcomputing
+
-
*Q? E-mail research-computing-support@stanford.edu or file a HelpSU: http://helpsu.stanford.edu/?pcat=farmshare
+
-
*Future vision as of summer 2010: http://itservices.stanford.edu/strategy/sysadmin/timeshare
+
-
== rye info ==
+
FarmShare systems run Ubuntu 16.04 LTS, and most software is sourced from standard repositories.
-
[[Image:pymolgiffy.gif|frame]]
+
=== Modules and Licensed Software ===
-
 
+
-
The "rye" machines are general purpose Ubuntu (same as corn) but have Nvidia GPU's.
+
-
 
+
-
Things you can do on rye:
+
-
* anything you can do on a corn
+
-
* run CUDA 6.0/OpenCL programs (text based or GUI)
+
-
* run 3D graphics programs such as PyMOL    ------>
+
-
 
+
-
 
+
-
 
+
-
*Detailed [[Rye-GPU|Rye info]]
+
-
 
+
-
 
+
-
 
+
-
 
+
-
== barley info  ==
+
-
 
+
-
The "barley" machines are general-purpose newer Ubuntu boxes that can run jobs that you submit via the resource manager software. You should not log in to any barley directly, but can do so to troubleshoot your jobs.
+
-
 
+
-
Things you can do on barley:
+
-
* cpu intensive jobs
+
-
* large memory jobs (up to 192GB)
+
-
* lots of cpu intensive jobs
+
-
* thousands of cpu intensive jobs
+
-
 
+
-
 
+
-
*Detailed [[Barley info]]
+
-
 
+
-
 
+
-
= Examples of using the barley cluster  =
+
-
 
+
-
#Introductory examples:
+
-
##[[FlacLikeABoss|Flac Like a Boss]]
+
-
##[[CheapFlights|Cheap Flights]]
+
-
##[[SFOtoHKGin5min|San Francisco to Hong Kong in 5 minutes]]
+
-
##[[MatCarlo|Monte Carlo Simulations in Matlab]]
+
-
 
+
-
#[[R]]
+
-
#[[MATLAB]]
+
-
#[[MatlabMysql|Access Mysql from Matlab]]
+
-
#[[Abinit|MPI Abinit]]
+
-
#[[Rmpi]]
+
-
#[[Gaussian]]
+
-
#[[Ipython]]
+
-
#[[ANSYS]]
+
-
#[[OpenFOAM]]
+
-
#Gaussview:&nbsp;[[Automated Submission Script Creation & Submission]]
+
-
 
+
-
 
+
-
= FarmShare software  =
+
-
 
+
-
== questions or requests about installed software ==
+
-
 
+
-
If you have a question or request about the installed software on FarmShare please email us: research-computing-support@stanford.edu
+
-
 
+
-
== questions about how to use installed software ==
+
-
 
+
-
If you need help on usage we would suggest:
+
-
 
+
-
* FarmShare mail list.  FarmShare maillist has hundreds of other FarmShare users.  It is quite likely somebody will be able to help.  Please [mailto:farmshare-discuss@lists.stanford.edu e-mail] the [https://mailman.stanford.edu/mailman/listinfo/farmshare-discuss FarmShare user community]
+
-
*SMACC.  SMACC office hours is an excellent place to start if you would like to discuss or ask a question in-person.  see [[Main_Page#SMACC_office_hours|SMACC]]
+
-
 
+
-
== stock software  ==
+
-
The FarmShare machines are running Ubuntu 14.04, and the software is from the Ubuntu repositories, e.g. run '''dpkg -l | grep ^i''' to see the list of installed packages.
+
-
 
+
-
*[[R]]
+
-
*[[OpenMPI]]
+
-
*[[AFS]] / [https://itservices.stanford.edu/service/kerberos Kerberos]
+
-
*[[GridEngine]]
+
-
 
+
-
If the package you're looking for isn't installed, search the [http://packages.ubuntu.com/ Ubuntu Packages] page and submit a [http://helpsu.stanford.edu/?pcat=farmshare HelpSU] with the package name(s) you want.
+
-
 
+
-
== licensed software  ==
+
-
 
+
-
In addition to Ubuntu packages, the following packages are installed and are available via the "module" command:
+
-
 
+
-
See [[FarmShare_software]] for detailed examples.
+
 +
Some software, including all licensed software, is built and/or installed manually and organized using the [https://lmod.readthedocs.io Lmod] environment module system.
<source lang="sh">
<source lang="sh">
-
$ module avail
+
module help
-
 
+
module avail
-
---------------------------------- /farmshare/software/free/lmod-5.0-install/lmod/lmod/modulefiles/Core -----------------------------------
+
module load
-
  lmod/lmod    settarg/settarg
+
-
 
+
-
------------------------------------------------------ /farmshare/software/mf/raring ------------------------------------------------------
+
-
  abinit/7.4.2      cudasamples/5.5                  julia/git11262013          povray/3.6.1                    statamp/12.1
+
-
  acml/5.3.1        farmvnc/0.1                      mathematica/9.0            sagemath/5.11                  statase/12.1
+
-
  ampl/20120629      farmvnc/0.2              (D)    matlab/r2012b              sas/9.2                        stattransfer/12
+
-
  atompaw/4.0.0.3    gams/24.1                        matlab/r2013a      (D)    sas/9.3
+
-
  cplex/12.4        gaussian/g09gview50      (D)    mzmine/2.10                sas/9.4                  (D)
+
-
  cuda/5.5          gaussian/g09sse4gview50          openmpi/1.6.5              sentarus/H_2013.03-SP1
+
-
 
+
-
-------------------------------------------------- /farmshare/software/mf/raring-compat ---------------------------------------------------
+
-
  ANSYS        GAMS-24.1        MATLAB-R2013a      SAS-v9.2            StataMP-12.1
+
-
  CPLEX-12.4    MATLAB-R2012b    Mathematica-9.0    StatTransfer-v12    StataSE-12.1
+
-
 
+
-
  Where:
+
-
  (D):  Default Module
+
-
 
+
-
 
+
-
See https://www.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/FarmShare_software for description of how to use modules.
+
-
 
+
-
A few commands to get you started:
+
-
 
+
-
To load latest version of matlab: module load matlab
+
-
You can load a specific version by: module load matlab/r2012b or module load MATLAB-R2012b
+
-
 
+
-
or to find out more information for a package: module spider matlab
+
-
 
+
</source>
</source>
-
= Monitoring / Status  =
+
'''Please note''' that commercial software is licensed for use on FarmShare ''only'' in coursework, and ''not'' for research.
-
 
+
-
You probably want to try these commands:
+
-
  qstat -g c #cluster slots summary by queue
+
-
  qhost -F mem_free #show available memory on each host
+
-
  qstat -f -u \* #show all jobs in the system
+
-
 
+
-
*Current status of farmshare machines: http://barley-monitor.stanford.edu/ganglia/
+
-
*More detailed graphs: http://barley-monitor.stanford.edu/munin/
+
-
 
+
-
For important announcements, we plan to:
+
-
 
+
-
*add it to this wiki
+
-
*modify /etc/motd on the corn machines
+
-
*send a mail to farmshare-discuss
+
-
 
+
-
= Mailing Lists  =
+
-
 
+
-
We have mailing lists, @lists.stanford.edu - https://itservices.stanford.edu/service/mailinglists/tools
+
-
 
+
-
*[https://mailman.stanford.edu/mailman/listinfo/farmshare-announce farmshare-announce] - announcements list - [https://mailman.stanford.edu/pipermail/farmshare-announce/ Archives]
+
-
*[https://mailman.stanford.edu/mailman/listinfo/farmshare-discuss farmshare-discuss] - user discussion - [https://mailman.stanford.edu/pipermail/farmshare-discuss/ Archives]
+
-
 
+
-
= Links  =
+
-
 
+
-
Want to learn HPC? Free education materials available:
+
-
 
+
-
*http://shodor.org/petascale/materials/modules/
+
-
*http://hpcuniversity.org/roadmap/
+
-
 
+
-
FarmShare has GPUs, but if you need to scale up to a cluster ICME is an excellent resource:
+
-
 
+
-
*https://icme.stanford.edu/computer-resources/gpu-cluster
+
-
 
+
-
Other GPU resources are:
+
-
 
+
-
*http://classx.stanford.edu/ClassX/system/users/web/pg/view_subject.php?subject=NVIDIA_ICME_SPRING_2010_2011
+
-
*Engineering / Computer Science computer labs: myth20 through myth32 have nVidia GPU modules for development: http://cs.stanford.edu/computing-guide/overview/computer-systems/myth
+
-
 
+
-
Other similar wikis/clusters on campus (you might not have access to these):
+
-
*Engineering / Computer Science computer labs (myth.stanford.edu), open to all fully sponsored SunetIDs: http://cs.stanford.edu/computing-guide/overview/computer-systems/myth
+
=== User-installed Software ===
-
*Stanford Research Computing cluster:  http://sherlock.stanford.edu
+
-
*Genetics/bionformatics service center cluster: https://www.stanford.edu/group/scgpm/cgi-bin/informatics/wiki/index.php/Main_Page
+
-
*SU-HPC group: https://www.stanford.edu/group/su-hpc/cgi-bin/mediawiki/index.php/Special:Recentchanges
+
-
*Proclus (H&S cluster): https://www.stanford.edu/group/proclus/cgi-bin/mediawiki/index.php/Main_Page
+
-
= Vision =
+
New or updated software can often be built and/or installed by users in their own home directories, and local package managers like [http://linuxbrew.sh Linuxbrew] and [https://spack.io Spack] can help. Local package managers are also available for many programming languages (e.g., [https://pip.pypa.io <code>pip</code>], [https://virtualenv.pypa.io <code>virtualenv</code>], and [https://conda.io Conda] for [https://www.python.org Python], <code>local::lib</code> and [https://perlbrew.pl Perlbrew] for [https://www.perl.org Perl], and [https://luarocks.org Luarocks] for [https://www.lua.org Lua]), and some of these provide tools for managing entire local programming environments.
-
The Farmshare resources are being made available to students, faculty and staff with fully sponsored SunetIDs to facilitate research at Stanford University.&nbsp; This resource is designed so that those doing research will have a place to experiment and learn about technical solutions to assist in reaching their research goals without needing to write a grant for a cluster.&nbsp; The Farmshare resources are focused on making it easier to learn how to parallelize research computing tasks and use research software including a "scheduler"&nbsp;or "distributed resource management system" to submit compute jobs.<br>
+
=== Containers ===
-
By using Farmshare, new researchers can more easily adapt to using larger clusters when they have big projects that involve using federally funded resources, shared Stanford clusters, or on a small grant funded cluster.<br>
+
[http://singularity.lbl.gov Singularity] containers are supported, but bootstrapping an image requires <code>root</code> access, so you'll need to create your containers elsewhere and copy them to FarmShare to run.

Revision as of 15:00, 11 November 2020

FarmShare is Stanford’s community computing environment. It is primarily intended for use in coursework and unsponsored research (note that some software tools, like ANSYS, are only licensed for use on Farmshare for academic course use, not research); users participating in sponsored or departmental research should investigate the Sherlock service or other, local alternatives, instead. FarmShare is not approved for use with high-risk data, including protected health information and personally identifiable information, and is subject to University policies on acceptable use.

For a description of the current environment, see FarmShare 2. More information can be found in the service documentation.


Contents

Recent Messages on farmshare-discuss

    System Status

    Major FarmShare maintenance is scheduled for 8:00 a.m. Wednesday, December 9–5:00 p.m. Tuesday, December 15.

    Please note that planned work will require an unusually extended downtime, during which we will be performing deferred hardware maintenance and physically moving FarmShare systems to a new location. All systems will be inaccessible during the maintenance period; please make sure you have completed and saved results from any running jobs, refrain from starting any long-running jobs that might not finish, and log out before the beginning of the maintenance window.

    We understand that the long maintenance period may inconvenience some users and ask for your patience while we complete this necessary work.

    Getting Started

    Any person with a full-service SUNet ID can access FarmShare.

    Connecting

    Do not connect to farm.stanford.edu. While there is such a system, it is not part of the FarmShare service.

    Log into rice.stanford.edu. Authentication is by SUNet ID and password (or GSSAPI), and two-step authentication is required.

    ssh sunetid@rice.stanford.edu
    

    SSH host keys and fingerprints are available for verification.

    For light-duty, interactive work (e.g., e-mail, web browsing and development, file editing, and AFS access or file transfers), log into cardinal.stanford.edu, instead.

    ssh sunetid@cardinal.stanford.edu
    

    cardinal systems should not be used for long-running or compute- and/or memory-intensive work.

    For more information, see Getting Connected and Advanced Connection Options.

    User Guide

    The User Guide has information regarding storage, file-transfer, and cluster configuration. See the FAQ for common issues, and tips and tricks.

    Support

    SRCC staff can be reached by e-mail at: srcc-support@stanford.edu. When reporting a problem, please let us know that you're running on FarmShare and report any relevant details, including the full text of any error message you're receiving, and the job ID and contents of your batch script (if applicable).

    Course Instructors

    If you are a course instructor using FarmShare for classwork and have any special requests or requirements please contact SRCC at least 30 days before the start of the academic quarter in which the class will be held. We try to accommodate reasonable requests but staff time is limited.

    Discussion List

    Subscribe to the community discussion list, farmshare-discuss, post questions and concerns to: farmshare-discuss@lists.stanford.edu, or browse the archives.

    Office Hours

    In accordance with guidance from the University regarding COVID-19, SMACC office hours have been suspended until further notice. If you need assistance with FarmShare please contact us at srcc-support@stanford.edu.

    SRCC participates in SMACC (C2) office hours, held weekly in the basement of Huang Engineering Center, near the ICME offices.

    SMACC office hours are not held during the Summer Quarter, or during inter-quarter periods.

    SSDS Consulting

    The SSDS group supports statistical software, including R, Stata, and SAS. They are located in the Velma Denning Room in the Bing Wing of Green Library and hold office hours Monday–Thursday, 2–5 PM, starting in the second week of each quarter and ending the last week of classes. SRCC staff are present on the third Tuesday of each month, from 2–4 PM. SSDS office hours are not held during the Summer Quarter.

    Software

    A variety of useful software, including some popular commercial software, is provided as part of the FarmShare environment. If something is missing, or a particular application, library, or utility needs updating, please let us know. We try to accommodate reasonable requests but staff time is limited.

    For more information, see Software.

    Packaged Software

    FarmShare systems run Ubuntu 16.04 LTS, and most software is sourced from standard repositories.

    Modules and Licensed Software

    Some software, including all licensed software, is built and/or installed manually and organized using the Lmod environment module system.

    module help
    module avail
    module load
    

    Please note that commercial software is licensed for use on FarmShare only in coursework, and not for research.

    User-installed Software

    New or updated software can often be built and/or installed by users in their own home directories, and local package managers like Linuxbrew and Spack can help. Local package managers are also available for many programming languages (e.g., pip, virtualenv, and Conda for Python, local::lib and Perlbrew for Perl, and Luarocks for Lua), and some of these provide tools for managing entire local programming environments.

    Containers

    Singularity containers are supported, but bootstrapping an image requires root access, so you'll need to create your containers elsewhere and copy them to FarmShare to run.

    Personal tools
    Toolbox
    LANGUAGES