3

I am trying to install Abaqus 6.12 on Ubuntu 12.04. I could mount the .iso file on a virtual drive. When I try to run the setup file, I get the following error:

***ERROR. The installation should not be executed from 
      the directory that contains the setup files.
      Please change your current working directory and
      rerun the installation.

The following is a part of the setup file I have.

#!/bin/csh -f
set args=($argv)
@ arglen = $#args
set cmd = $0
set setup_dir = $cmd:h
set my_cwd = $cwd
cd $setup_dir
set setup_dir = $cwd
cd $my_cwd

if ( "$setup_dir" == "$my_cwd" ) then
echo "***ERROR. The installation should not be executed from "
echo "          the directory that contains the setup files."
echo "          Please change your current working directory and"
echo "          rerun the installation."
exit 1
endif

How do I install Abaqus on Ubuntu?

2

I'll do the following steps to ensure that you're not building in the source tree:

mkdir $HOME/Abaqus_build_dir
cd $HOME/Abaqus_build_dir
/path/to/your/csh_setup_file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.