ABAQUS Software

From TAMUQ Research Computing User Documentation Wiki
Jump to navigation Jump to search

The instructions below are to Install Abaqus 6.13-1 with MS Visual Studio 2010 Pro SP1, and Intel Fortran Composer XE 2011 Update 4

Before starting this installation, make sure you read the information on the following page: RC Website

Note that if you do NOT require the use of user defined routines in your work with Abaqus, the installation is simpler and you may skip directly to the section entitled “Abaqus 6.13-1”. Otherwise, begin here and follow the sequence of these instructions…

MS Visual Studio 2010 Professional SP1

If you have any other versions of MS Visual Studio already on your system, you probably need to uninstall those before proceeding. If that scenario applies to you, contact RC staff before moving on. Otherwise… launch the autorun.exe program (right-click, then select “Run as administrator”) from:

P:\Office of Research\Research Computing\RC\VisualStudio\2010Pro

Click "Install Microsoft Visual Studio 2010". In the setup window that opens, click Next. The ensuing screen may look something like this:

RIGHT

It may show some prerequisites already installed on the system while it shows that the setup program will install other missing pre-reqs itself. Select the radio button to accept the license terms, then click the Next button.

On the following screen, retain the option to install the full product and click the Install button to begin installation. The installer will now take some time to install all required components. This may take about 20 minutes or more, depending on the speed of your system:

RIGHT

When finished, you should see a success screen:

RIGHT

Click the Finish button. You now see the initial setup program window, but with the option to (a) change or remove the installed product, or (b) to check for updates to the installed product. If there is ever a need to uninstall MS Visual Studio or components of it, one can launch the autorun.exe program to arrive at this screen and click on the link to change or remove the installed product.

For now, we are done installing MS Visual Studio, so click on the Exit button.

Intel Fortran Composer XE 2011 Update 4

Now, install the "Intel Fortran Composer XE 2011 Update 4" product from:

P:\Office of Research\Research Computing\RC\IntelCompiler - Fortran\old\f-composer-xe-2011-update4

First, install the prerequisite components from the sub-folder "w_fcompxe_redist_msi_2011.4.196" at the location above. Install both MSI files (the ia32 and intel64 versions of the file) by double-clicking on the file icons. The installations are quick and simple, requiring you only to accept the licensing terms. (If there is ever a need to un-install these components, re-launch these same MSI files and you will be presented with an option for un-installing. The control panel would also be an option for removing these components of course.)

Next, install the main product using the w_fcompxe_2011.4.196.exe installer file (in the directory one level above where the MSI files reside). Right-click it and select "Run as administrator". In the window presented by the setup program, simply press the "Extract" button to proceed. The product installer will then launch. In the first window presented by the installer, click the Next button. Now, accept the licensing terms, and again click Next.

In the Activation window, select the "Choose alternate activation" method and click Next. Now, select "Use a license manager" and click Next.

In the "Host Name" field, enter "rc-licenses" (without the quotes) and enter "28518" in the Port field. Click Next. Note that you must be connected to the network via the Staff network (or with VPN) before you click next here.

On the subsequent screen, retain the default selection to install the full product and press Next.

On the final screen, press the Install button to start the actual installation. This may take about 5 minutes or more, depending on the speed of your system. Click the Finish button when done. The first time MS VS2010 is launched, you may see the following window:

RIGHT

Select the "General Development Settings" and click the "Start Visual Studio" button. VS 2010 will now start up. To create a Fortran application, click on the "New Project..." link, then in the New Project window, expand the "Intel Visual Fortran" menu item in the "Installed Templates" pane of the window. Typically, you would then select "Console Application" and perhaps begin by using the "Main Program Code" template. Of course, which template you use (if any) depends on your specific needs:

RIGHT

Abaqus 6.13-1

Next, we will install Abaqus 6.13-1. The first component will be the documentation. Installation media should be in:

P:\Office of Research\Research Computing\RC\Abaqus\6.13-1

In the subdirectory “documentation/1”, launch setup.exe by right-clicking and choosing "Run as administrator". Click the Next button on the license notice screen. Click Next again on the informational screen. Click Next on the Installation help screen. Retain the option to install both HTML and PDF documentation, click Next. Leave the hostname/IP address field as is (it should have the name of your local system). Click Next. Retain the "Abaqus web server" choice on the next window. Click Next. Retain the default installation directory, click Next. When prompted, choose to create the specified installation directory.

Finally, click “Install” to initiate the installation. This should take about 5 minutes. Next, we’ll install the Abaqus product itself.

Go to subdirectory “product\1\win86_64” and manually install the files (right-click, then “Run as administrator” where possible):

2005_SP1_vcredist_x64.exe 2005_SP1_vcredist_x86.exe 2008_SP1_vcredist_x64.exe 2008_SP1_vcredist_x86.exe mpi_3.0_x64.msi

Now, in the subdirectory “product\1”, launch setup.exe (Run as administrator). Click Next on the license notice screen. The VC++ 2005 SP1 and 2008 SP1 prerequisites will be installed. Click OK to proceed. These prerequisite installs error out with the following screen:

RIGHT

Since we already installed these components manually before initiating the Abaqus product install, we can ignore these and simply click Continue.

Click Next on the Introduction window. Next again in the Installation help window. In the Installation type window, select Abaqus Product, then click Next. If a prompt asks you to install the MPI redist pack, click OK. This may error out; just ignore the error and click Continue to move on.

In the License server screen, enter "27011@rc-licenses" in the first field; leave the others empty. The next screen complains about the license server value:

RIGHT

Enter again the value "27011@rc-licenses" and click next.

The next screen shows the default URL for the Abaqus html documentation server. Simply click Next.

The next screen shows the default installation directory. Click Next to continue. Click Yes in the pop-up window to have this installation directory be created.

On the following screen, click Next to accept the default value of the Abaqus working directory (or change it according to your needs to some other location on your local system). Click Yes in the pop-up window to have this working directory be created.

Finally, click the Install button to start installation. This will take about 6 minutes or longer, depending on the speed of your system. At the end, a product verification screen will be displayed. If any of the verification tests on this screen are shown to have failed, you may need assistance from RC staff to identify the problem.

Click Done to exit the installer. The final screen will ask for a system reboot. Perform the reboot.

Configuring the Environment for User Defined Subroutines

In order to configure your Abaqus installation to compile and link with user subroutines, some additional steps must be taken. The detailed procedure for that setup is to be found below.

This setup is not required if you do not need to work with user subroutines in your Abaqus workflow.


Configuring System Paths to Link User Subroutines in Abaqus (on a Windows 7 system)

    To enable Abaqus to compile and link to user‐created subroutines, it must be made aware of the locations of both the Intel Fortran compiler as well as the MS Visual Studio software on the host Windows system. The following set of steps satisfies this requirement. Note that this set of instructions was prepared for Abaqus 6.12 used in conjunction with MS Visual Studio 2008 and Intel Visual Fortran Compiler 11.1. These instructions can be used for Abaqus 6.13 (with MS Visual Studio 2010 & Intel Fortran Composer XE 2011) but the paths to those products will be slightly different, and these are shown in steps 2 and 4 in grey font. Users are asked to be mindful of the paths appropriate to their version of Abaqus, MS Visual Studio, and Intel compiler when following this procedure.

    Record Values of Existing Path Variables

  1. Because we will be making changes to certain system variables that contain lists of paths, as a precaution we need to record the existing values of those variable before initiating changes. Running the following script will create a text file “old_paths.txt” on your Desktop with your existing values at this point in the procedure:
  2. P:\Office of Research\Research Computing\RC\Abaqus\record_old_paths.bat Retain this file indefinitely for a possible rollback to the impending changes, if that ever becomes necessary. [Note that if the values recorded for these variables in the old_paths.txt file are empty or “ECHO is off”, it means that those variables do not currently exist; that is OK.]

    Configure ABAQUS to find Intel Fortran

  3. Determine the full path name for the file ifortvars.bat, which will be similar to one of the following (depending on the version of the installed compiler):
  4. C:\Program Files (x86)\Intel\Compiler\11.1\072\bin\ifortvars.bat (for Intel compiler used with Abaqus 6.12) C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ifortvars.bat (for Intel compiler used with Abaqus 6.13)
  5. Click on the Start Menu, click on All Programs, find Abaqus 6.12 and right‐click on the Abaqus Command menu item. Click on Properties. In the Abaqus Command Properties window that opens up, under the Shortcut tab, the Target: text field should contain:
  6. C:\Windows\SysWOW64\cmd.exe /k After the /k add a blank space, then the full path to ifortvars.bat between double quotes, followed by intel64 as shown below: C:\Windows\SysWOW64\cmd.exe /k “C:\Program Files (x86)\Intel\Compiler\11.1\072\bin\ifortvars.bat” intel64 NOTE: Do not cut and paste the value above into the Target: field, but type in the value instead. Also, use the path for ifortvars.bat appropriate to the version of your Intel compiler (see step 2). When clicking the Apply button to save this new value, the system will complain with a message such as “You will need to provide administrator permission to complete this operation.” If your account user is an admin on the system, you should simply be able to proceed by clicking the Continue button. Finally, click the OK button to close the Abaqus Command Properties window.

    Set Environment Variables for Intel Fortran and MS Visual Studio

  7. Determine the full path name to the file vcvarsall.bat, which should be similar to:
  8. C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat (for version of Visual Studio used with Abaqus 6.12) C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat (for version of Visual Studio used with Abaqus 6.13) We already have the full path name to the file ifortvars.bat from an earlier step (see step 2).
  9. Click on the Start Manu, then enter cmd into the search field. Click on the program cmd.exe from the search results. In the resulting terminal window, run the following two .bat files (one at a time) by typing (not cutting and pasting) their full path names at the prompt and hitting enter (don’t forget the double quotes – and use the paths appropriate to your version of Abaqus):
  10. “C:\Program Files (x86)\Intel\Compiler\11.1\072\bin\ifortvars.bat” intel64 “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat” The output in your cmd terminal window should look similar to the following: RIGHT
  11. Click on the Start Menu, click on All Programs, find Abaqus 6.12 and click on the Abaqus Command menu item to launch it.
  12. 7. Run the following script and it will create a file on your Desktop called “current_paths.txt”:
  13. P:\Office of Research\Research Computing\RC\Abaqus\show_current_paths.bat