Unix/Linux

Please find below FAQ's for Unix/Linux computers:

How can I tell what directories are using up my quota?

You can check your Purdue Career Account quota in one of two ways. You can log into an EAS Linux machine and run the `quota` command. Or you can log in to https://www.purdue.edu/apps/ics/a/Account and click "Click here to check your account space."

Often, it is not clear what directories are using up a large portion of disk space - either on your Purdue Career Account home directory, or on hypocenter. The `du -h` command provides information about file sizes, and `du -sh` gives the sum for a directory. However, this is often not as granular as you need.

The `find` command can be used to get more detail about where the space is being used. For example, you can see the total usage of your current working directory by typing:

     du -sh  

This will give you the total usage of the directory you are in. By adding the * shell glob, you can get the sum of each file and directory inside your current directory:

     du -sh *

In order to see only the directories, you'll need to use the following:

     find . -type d -maxdepth 1 -exec du -sh {} \;

This will give you the size of each directory in your current directory. You can increase the "-maxdepth" option to see more levels of directories (For example, a maxdepth of 1 will show the 'www', directory, but a maxdepth of 2 will show 'www/images', and 'www/cgi-bin').

Can I have root access on my Linux machine?

It is the general policy to not give end users root access on machines. If there is a demonstrable need to have root access on a particular machine, that can be granted but career account directories would no longer be available. This is a security and privacy restriction put in place by the ITaP and is absolutely concrete.

If you need to have a command executed by the root user, please send an e-mail to eas-help@purdue.edu.

I can't log in to my Linux workstation at the console. I get the error message "Your session only lasted less than 10 seconds."?

The most likely cause for this problem is that your Purdue Career Account has reached (or come near) the 500 MB quota. There are two possible remedies for this.

  • Delete unneeded files from your Career Account space . This includes your Desktop directory.
  • Move your files to another location . You can move files onto the departmental file server (hypocenter.eas.purdue.edu), or into a DXUL (Fortress) archive if you have access, or to removable media (such as a CD or DVD).

See the FAQ entitled "How can I tell what directories are using up my quota?" for more information on managing your quota.

What has changed with the Red Hat 5 upgrade?

EAS Linux machines have been upgraded from Red Hat Enterprise Linux 4 to RHEL 5 Summer 2009. This page contains a list of the common questions encountered by the faculty and student software testers.

  • ggv and xpdf don't exist anymore. What can I use to view PDF and PostScript files?

    ggv and xpdf have been removed in favor of the Evince document viewer. From the command line, you can launch Evince by typing

    /usr/bin/evince
  • My CSH scripts now give an error "if: Badly formed number"

    If your script uses comparisons of numbers that begin with a 0, CSH will interpret it as an octal number. if the number contains 8 or 9, it will fail because 8 and 9 do not exist in octal. To get around this problem, you should switch to a different shell (like bash) or use a more robust scripting language, such as Perl.

  • Where is the Fortran compiler?

    The PGI Fortran compiler suite continues to be in /opt/pgi. The GNU Fortran compiler (formerly g77) is now gfortran (/usr/bin/gfortran). If you are running ./configure to generate a Makefile, you may need to set the F77 environment variable to "gfortran"

      setenv F77 gfortran   # C Shell
    export F77=gfortran # Bash

What software is installed on EAS Linux machines?

EAS Linux machines run Red Hat Enterprise Linux 5. In addition to core packages that are included with the operating system (e.g. gcc), the applications listed below are also included. To request an update or addition, please send an e-mail to eas-help@purdue.edu.

Software installed on EAS Linux machines
Package Version Location Date
GEMPAK 5.11.1 /opt/gempak 4/20/10
GMT 4.3.1 /opt/gmt 8/14/08
GIPSY 4.03 /opt/GOA-4.03  
IDL 6.4 /opt/idl  
IDV 2.7 /opt/idv 8/11/09
Java Runtime Environment 1.6.0 /opt/java 1/22/09
Matlab 7.8 (R2009a) /opt/matlab 8/11/09
NCL 5.1.1 /opt/ncl 8/11/09
NCO 3.9.9 /opt/nco 8/11/09
netCDF 4.0.1 /opt/netcdf 8/11/09
PGI compilers 8.0-6 /opt/pgi 8/11/09
R

2.9.1

/opt/R

7/2/09

WDSS-II 4/15/2008 /opt/WDSS2 8/14/08
wgrib 1.8 /opt/wgrib 8/28/09
How can I access DXUL (fortress) from a Unix machine in the EAS computing environment?

DXUL is a long-term storage archive that may be used by all faculty.

DXUL stores data on tape, so it is highly recommended that you compress the files you wish to archive into a single, larger archive file. (Transferring lots of little files wastes disk space and creates excessive overhead on DXUL.)

You may use zip, tar, bz2 or any other compression utility.

 

For example, assume the files you wish to archive are located in the directory "data2005", you may compress them by running:
tar -cvzf data2005.tar.gz data2005

 

If the system complains about not knowing what -z is, then you will need to use two steps:
tar -cvf data2005.tar data2005
gzip data2005

 

Now you can move the compressed file to DXUL.

 

Additional information on DXUL may be found at:

   http://www.rcac.purdue.edu/userinfo/hardware/dxul.cfm

 


EAS Information Technology

© 2012 Purdue University
An equal access/equal opportunity university
Copyright Complaints

Department of Earth, Atmospheric, and Planetary Sciences, Purdue University
550 Stadium Mall Drive, West Lafayette, IN 47907 USA     Phone: (765) 494-3258 - Fax: (765) 496-1210
If you have trouble accessing this page because of a disability, please contact webmaster at: webmaster@science.purdue.edu