To begin this tutorial, get the <install-dir>/Samples/<locale>/Fortran/coarray_samples/hello_image.f90 source file and set the environment variables to use the compiler.
Copy hello_image.f90 to a working directory where you have write and execute permissions.
The Intel compiler implementation of coarrays follows the standard provided in a draft version of the Fortran 2008 standard. Not all features present in the Fortran 2008 standard may be implemented by Intel. Consult the Release Notes for a list of supported features.
Before you can use the compiler, you must first set the environment variables by running the compiler environment script compilervars.sh or compilervars.csh with an argument that specifies the target architecture.
To set the environment variables:
Open a terminal session.
Run one of the scripts with the appropriate architecture argument. The following example uses compilervars.sh:
source <install-dir>/bin/compilervars.sh <arg>
where <install-dir> is the directory structure containing the /bin directory and <arg> is one of the following architecture arguments:
Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>\<studio>\documentation\ <install-dir>/<studio>/documentation/.