guile


Introduction:

GUILE is the GNU programming and extension language.

GUILE is an implementation of the Scheme programming language, which,
in turn, is a dialect of Lisp, originated by Guy Steele and Gerald
Sussman.

GUILE is easy to combine with codes written in C. It includes a module
system, full access to POSIX system calls, networking support, multiple
threads, dynamic linking, a foreign function call interface, powerful
string processing, and many other features needed for programming
in the real world.

Web Site:

The GUILE home page at GNU:

https://www.gnu.org/software/guile/

Reference:

Usage:

On any ARC cluster, check the installation details
by typing "module spider guile".

GUILE requires that the appropriate modules be loaded before it can
be used. One version of the appropriate commands for use on NewRiver is:

module purge
module load gcc/4.7.2
module load guile/2.0.11
    

Examples:

The following batch file runs GUILE programs that say hello,
compute the factorial of 50, and the combinatorial coefficient C(100,50).

#! /bin/bash
#
#PBS -l walltime=00:05:00
#PBS -l nodes=1:ppn=1
#PBS -W group_list=newriver
#PBS -q open_q
#PBS -j oe
#
cd $PBS_O_WORKDIR
#
module purge
module load gcc/4.7.2
module load guile/2.0.11
#
export GUILE_AUTO_COMPILE=0
#
./hello
#
./fact 50
#
./choose 50 100

A complete set of files to carry out a similar process are available in
guile_example.tar