Notes on how to install and execute Swift on various common systems for the AMWG analysis project.
The general instructions regarding downloading and compiling Swift are at the Swift: Downloads page. In general:
(Keystrokes from the Swift documentation)
$ cd SwiftSupport # (base of the swift installation, usually under Matthew's scratch directory)
$ svn co https://cogkit.svn.sourceforge.net/svnroot/cogkit/trunk/current/src/cog
$ cd cog/modules
$ svn co https://svn.ci.uchicago.edu/svn/vdl2/trunk swift
$ cd swift
$ ant dist
$ cd SwiftSupport # (base of the swift installation, usually under Matthew's scratch directory)
$ ln -s path swift
(e.g., swift -> /users/ncar/mattheww/SwiftSupport/cog/modules/swift/dist/swift-svn)
diff cog/modules/provider-coaster/resources/worker.pl cog/modules/provider-coaster/resources/worker.bak 126,127c126 < #my $IDLETIMEOUT = ( $#ARGV <= 2 ) ? (4 * 60) : $ARGV[3]; < my $IDLETIMEOUT = (60*60*24); --- > my $IDLETIMEOUT = ( $#ARGV <= 2 ) ? (4 * 60) : $ARGV[3]; |
log4j.logger.org.globus.cog.abstraction.coaster=INFO log4j.logger.org.globus.cog.abstraction.impl.common.task.TaskImpl=DEBUG |
Package |
Status/Version |
Comment |
---|---|---|
Subversion |
System Installed |
Subversion available by default and works properly |
Java |
Custom Installed |
See environment variables below |
export JAVA_HOME=/ptmp/mattheww/SwiftSupport/jdk1.6.0_21
export PATH=/ptmp/mattheww/SwiftSupport/jdk1.6.0_21/bin/:$PATH
export PATH=/fs/local/bin:$PATH # to get Apache ant
Swift support files are installed in /ptmp/mattheww/SwiftSupport
Package |
Status/Version |
Comment |
---|---|---|
Subversion |
||
Java |
Custom Installed |
See environment variables below (shared with Frost installation!) |
NetCDF |
Custom netcdf-3.6.3 |
/ptmp/mattheww/SwiftSupport/netcdf-3.6.3-icc |
NCO |
Custom nco-3.9.9 |
/ptmp/mattheww/SwiftSupport/nco-3.9.9-icc |
export JAVA_HOME=/ptmp/mattheww/SwiftSupport/jdk1.6.0_21
export PATH=/ptmp/mattheww/SwiftSupport/jdk1.6.0_21/bin/:$PATH
export PATH=/ptmp/mattheww/SwiftSupport/netcdf-3.6.3-icc/bin:$PATH
export PATH=/ptmp/mattheww/SwiftSupport/nco-3.9.9-icc/bin:$PATH
Package |
Status/Version |
Comment |
---|---|---|
Subversion |
Not Available |
Subversion does not support https; copying tree from Twister |
Java |
Complicated |
Works on compute nodes, but can't compile on head node |
Swift support files are installed in /users/ncar/mattheww/SwiftSupport
Package |
Status/Version |
Comment |
---|---|---|
Subversion |
System Installed |
Subversion available by default and works properly |
Java |
System Installed |
module load java && module load java-jdk |
NCO |
System Installed |
*module load nco |
Swift support files are installed in /gpfs/medusa/matthew/SwiftSupport