Acousto Aws2

First problem is that when I ssh to the remote machine, the connection dies after A couple of minutes of inactivity

echo "ServerAliveInterval 60" » ~/.ssh/config

Transmits a null byte every 60 seconds which should keep the connection alive.

I am using this instance: Ubuntu Server 12.04.3 LTS - ami-6aad335a (64-bit) / ami-68ad3358 (32-bit)
Ubuntu Server 12.04.3 LTS, with support available from Canonical (http://www.ubuntu.com/cloud/services).

ssh -v -i ~/Downloads/EC2_free_keypair.pem moc.swanozama.etupmoc.2-tsew-su.831-77-002-45-2ce|utnubu#moc.swanozama.etupmoc.2-tsew-su.831-77-002-45-2ce|utnubu

Note that it is always ubuntu@… —if I was using an Amazon linux instance, it would be ec2user@…

I get the … from the EC2 management console: https://console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:

sudo su -

^ to execute every command as superuser

apt-get install libtool (<— try build-essential)
apt-get install autoconf

root@ip-172-31-40-91:/home/ubuntu/acousto_pi# ls -laR /aclib/
/aclib/:
total 12
drwxr-xr-x 3 root root 4096 Jan 23 23:45 .
drwxr-xr-x 24 root root 4096 Jan 23 22:54 ..
lrwxrwxrwx 1 root root 19 Jan 23 23:08 libblas.so -> /usr/lib/libblas.so
lrwxrwxrwx 2 root root 21 Jan 23 23:45 libconfig.so -> /usr/lib/libconfig.so
lrwxrwxrwx 1 root root 48 Jan 23 23:07 libgfortran.so -> /usr/lib/gcc/x86_64-linux-gnu/4.6/libgfortran.so
lrwxrwxrwx 1 root root 34 Jan 23 23:15 liblapack.so.3gf.0 -> /usr/lib/lapack/liblapack.so.3gf.0
lrwxrwxrwx 1 root root 34 Jan 23 23:26 libmpi_f77.so -> /usr/lib/openmpi/lib/libmpi_f77.so
lrwxrwxrwx 1 root root 39 Jan 23 23:19 libopenblas.so.0 -> /usr/lib/openblas-base/libopenblas.so.0
lrwxrwxrwx 1 root root 32 Jan 23 23:30 libscalapack-openmpi.so -> /usr/lib/libscalapack-openmpi.so
drwxr-xr-x 2 root root 4096 Jan 23 23:45 nice

/aclib/nice:
total 8
drwxr-xr-x 2 root root 4096 Jan 23 23:45 .
drwxr-xr-x 3 root root 4096 Jan 23 23:45 ..
lrwxrwxrwx 1 root root 26 Jan 23 23:41 libblacs.so -> ../libscalapack-openmpi.so
lrwxrwxrwx 1 root root 19 Jan 23 23:40 libblas.so -> ../libopenblas.so.0
lrwxrwxrwx 2 root root 21 Jan 23 23:45 libconfig.so -> /usr/lib/libconfig.so
lrwxrwxrwx 1 root root 17 Jan 23 23:42 libgfortran.so -> ../libgfortran.so
lrwxrwxrwx 1 root root 19 Jan 23 23:40 liblapack.so -> ../libopenblas.so.0
lrwxrwxrwx 1 root root 16 Jan 23 23:41 libmpi_f77.so -> ../libmpi_f77.so
lrwxrwxrwx 1 root root 26 Jan 23 23:41 libscalapack.so -> ../libscalapack-openmpi.so

mpirun -np 1 acousto -f pi.cfg

mpirun -np 1 lldb acousto
run -f pi.cfg

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License