Installation: Software PrerequisitesMicrosoft Visual Studio .NET 2003. During an installation, Visual Studio may encourage a user to install IIS (Internet Information Services); this is not necessary if all you wish to do is compile FORTRAN programs.Microsoft Platform SDK (Software Development Kit) which can be obtained at:Intel Visual FORTRAN Compiler.Installation: Hardware PrerequisitesPentium II 450 or better [Intel].256 MB ram (512 MB recommended) [Intel].200 MB free space plus an additional 300 MB free at install time [Intel].100 MB of virtual memory [Intel].Installation Procedure: PreparationAdministrator privileges are required on the machineInstallation Procedure: ProcessDouble-click on the installation file.On the first screen click next, then choose an installation path, and click next again.Click next on the screen containing links and other information. The installer will then prompt for the license procured by completing the registration form. Enter the license number and click next.The Tool Selection screen presents the following options:Choose the first option (Intel(R) Visual Fortran Compiler for 32-bit and Itanium(R)-based applications)After the first installation is completed, choose the fifth option (Intel(R) Visual Fortran Compiler Integrations in Microsoft Visual Studio)After completing this installation, click next and then click finish on the final page.Post-installation: Validating the installationThe following procedure validates the installation by compiling Argonne National Laboratory’s MPICH2 package for distributed communication. The procedure assumes the following prerequisites:Microsoft Visual Studio .NET 2003PerlAdministrative privileges on the machineA previously downloaded and installed copy of MPICH2Start a command prompt by going to Windows Start Menu, clicking on Run, entering the word cmd, and pressing enter.Change to the directory of your MPICH2 installation with the cd commandInside the MPICH2 directory type winconfigure and press enter. This is the step that requires Perl.Browse to the MPICH2 directory using Windows explorer and double click mpich2.sln. You should now see the option “open in Visual Studio”.Inside Visual Studio, change the solution configurations dropdown box (the one labeled “Release”, in the toolbar) to ch3sockRelease. Then, right-click the MPICH2 solution in solution explorer and choose Build Solution as shown below.Now, right click the static mpich2 project (mpich2s), and select build.Next, change ch3sockRelease to fortRelease in the same place that Release was changed in the previous step. Right click the mpich2f project and select build.Now change fortRelease to Release in the same place that ch3sockRelease was changed in the previous step. Build mpich2.sln once again (by right-clicking the file in the solution explorer and choosing build).At this point, Visual Studio should have built a bin folder inside your working directory. Look in the bin folder and check the existence of mpiexec.exe and smpd.exe. If they exist, the compilation succeeded.
ConclusionVS .NET is a valid option for compiling FORTRAN programs under Windows. It can potentially be used for projects that involve MPI. Further research will need to be done to determine if it can be used to compile code that uses SPRNG (refer to DRNG.doc).