我正在尝试在 Ubuntu 12.04 上安装 Abaqus 6.12。我可以将 .iso 文件挂载到虚拟驱动器上。当我尝试运行安装文件时,出现以下错误:
***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.
以下是我所拥有的安装文件的一部分。
#!/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
如何在 Ubuntu 上安装 Abaqus?
答案1
我将执行以下步骤以确保您没有在源树中进行构建:
mkdir $HOME/Abaqus_build_dir
cd $HOME/Abaqus_build_dir
/path/to/your/csh_setup_file