Coarray problem

Coarray problem

In attempting to do the Coarray Tutorial, I've encountered a problem on one (and only one) of my three machines. On the one machine, after 'migration' of the "coarray_samples" project, then 'building', then 'Debug/Start without debugging', the console window appears with: "Unknown option: -localonly" on line 1, and "Press any key to continue ..." on line 2. On the other two machines, everything runs (after migration) as the tutorial says it should.

All three machines are running Microsoft Visual Studio Professional 2013, V12.0.21005.1 REL with Intel Visual Composer XE 2013 SP1 Update 3 for Windows V2013.1.3.202.

The machine on which the problem occurs is a desktop with the Intel i7-860 CPU and is running Windows 7 SP1 Ultimate, 64 bit.

The machines without problems are (1)a notebook with the Intel i3-2350M CPU running Windows 7 SP1 Home Premium, 64 bit, and (2)a desktop with the Intel i7-4770 CPU running Windows 7 SP1 Professional, 64 bit.

It may be pertinent that all three machines have HPC Pack 2008 R2 MS-MPI Redistributable Package with Service Pack 1 installed. It seems unlikely that this is the problem, however, since all three machines have it. I've looked at the Project/Properties and haven't detected any differences on the three machines. I've also tried turning off Windows Firewall ... without effect.

Any suggestions as to what might be wrong?

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply

It's the location of the non-Intel MPI in PATH. Our coarray support assumes Intel MPI will be used (there are ways to have it work with other MPIs, but it takes extra effort.) Check the value of the PATH system environment variable - for coarray support you want C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt (for 64-bit applications) earlier in the value than the other MPI.

Steve - Intel Developer Support

Steve:

How do I check the PATH?

Edit: O.K., Google was my friend. After rearranging the items in the PATH variable, the coarray sample works fine.

Many thanks for your help.

Note, however, that the app (GAMESS.13-64.intel.fast.mkl) needing the MS MPI will not run unless that path is first. It appears that I must change the PATH variable to accommodate EITHER coarrays OR GAMESS..

Don

You could run one or the other by creating a .bat file that adds the desired folder to the beginning of PATH and then runs the program.

Steve - Intel Developer Support

Steve:

Yeah, that sounds doable. For the present, while I'm just playing with coarrays, I'll just set up one machine for those and keep the others ready for GAMESS.

Again, thanks for your very prompt help,

Don

Leave a Comment

Please sign in to add a comment. Not a member? Join today