Notes Ubuntu 7.10 Install

From ASCEND

Jump to: navigation, search

Under constructions - do not use yet!!

The following are notes describing my experience on setting up my computer running Ubuntu 7.10 to compile and execute the ASCEND software.

[edit] Initial steps

I was running a fully updated Ubuntu 7.04 in which I had carried out all the steps noted in Notes Ubuntu 7.04 Install to allow me to compile and execute ASCEND. I then upgraded from Ubuntu 7.04 to Ubuntu 7.10.

I, therefore, propose that you should do the steps I did in Notes Ubuntu 7.04 Install before proceeding, even if you are already running under Ubuntu 7.10. As I did not do it in this order, I cannot guarantee the exact package names listed there.

[edit] Additional steps for Ubuntu 7.10

While operating under Ubuntu 7.10, I installed the following two packages:

sudo apt-get libgfortran2
sudo apt-get gfortran


I then altered the scons line in the script for compiling ASCEND to read

scons F2C_LIBPATH=/usr/lib/gcc/i486-linux-gnu/4.2.1/ WITH_DOC=0 INSTALL_PREFIX=/home/myuserID/ascend/compiled DEBUG=1

That script now reads:

#!/bin/sh
#
cd
cd ascend
rm -rf compiled
cd code/extfn
scons F2C_LIBPATH=/usr/lib/gcc/i486-linux-gnu/4.2.1/ WITH_DOC=0 INSTALL_PREFIX=/home/myuserID/ascend/compiled DEBUG=1
scons install
echo "ascendcompile"

The extra bit in that line allows the load step to find the libgfortran library.

The four scripts now work under 7.10.

--Art Westerberg 14:24, 31 December 2007 (EST)

Personal tools