Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ifort on NFS

sanukisoba
Beginner
1,518 Views
Hi, I have just intalled ifort into Mac 10.6.8. But there exists one problem.
The home directory of the machine is under NFS.
When I try "ifort -v" on local directoy, it goes well.
However, if try it on NFS directroy, following error appears.
No enough memory when malloc -1 bytes at shared/flexlm/api/flexlm.c:6802
Abort trap
Could you please teach me how I can fix it.
0 Kudos
14 Replies
Georg_Z_Intel
Employee
1,518 Views
Hello,

can you tell me please which compiler version you're using: What does

$ ifort -V

print? (provided you're running it on a local working directory)

Thank you & best regards,

Georg Zitzlsberger
0 Kudos
sanukisoba
Beginner
1,518 Views
Hello, Georg.
Here is the result
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.2.269 Build 20111207
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
30 DAY EVALUATION LICENSE
ifort: NOTE: The evaluation period for this product ends on 16-mar-2012 UTC.
Thank you in advance.
0 Kudos
Ron_Green
Moderator
1,518 Views
The file paths on the NFS client must match the file paths on the host. Also, the NFS server host, you should have installed the compiler directly to the NFS directory. You cannot copy or move the compiler - it must be installed directly to a directory and should not be moved.

In what directory path (full path from root / ) does the server have the compiler?
In what directory path (full path from root / ) does the client have the compiler?
On the client system, did you copy the license to /Users/Shared/Library/Application Support/Intel/Licenses/*.lic ?

Also, the client has to do command 'source /bin/compilervars.sh intel64'

0 Kudos
sanukisoba
Beginner
1,518 Views
Hello,
NFS server is Linux, and client is Mac OS.
Are you suggesting that NFS server must have fortran composer for linux?
But, I also have linux machine of NFS client. I installed ifort into linux client and it goes well.
NFS Server : linux with no compiler
|
|--NFS client : linux with compiler -> OK
|
|--NFS client : Mac with compiler -> NG
0 Kudos
Georg_Z_Intel
Employee
1,518 Views
Hello,

unfortunately I need one more information from you: Which XCode version are you using?

Our engineers need to know to reproduce the problem.

Edit:
Could you please try a workaround:
$ export INTEL_LICENSE_FILE=.lic
...and try again?

Thank you & best regards,

Georg Zitzlsberger
0 Kudos
sanukisoba
Beginner
1,518 Views
Hello,
The version of Xcode is 3.2.6.
And,
$ export INTEL_LICENSE_FILE=.lic
did not work.
Thank you in advance.
0 Kudos
Ron_Green
Moderator
1,518 Views
you can use a linux NFS server host.
Mount NFS on Mac client #1
Client #1 must have Xcode 3.2.6 installed locally
Install Intel Fortran for Mac OS X to that NFS path from the client. you cannot install in one place and copy to NFS. You cannot move the compiler with cp, tar, etc.

confirm compiler works on client #1 where you did the installation.

Next client: install Xcode 3.2.6. should be 64bit just like client #1
Move license from client #1 to /Users/Shared/Library/Application Support/Intel/Licenses/* to same location on client #2. check permissions so that users can read this full path to .lic file(s).
Mount NFS on same path on client #2 as on client #1
source /bin/compilervars.sh intel64
ifort -V

0 Kudos
sanukisoba
Beginner
1,518 Views
I am sorry, it seems that my explanation is not enought.
I have two nfs clients, Mac and Linux.
Linux runs compiler without a problem.
Mac runs compiler only in local directry.
I guess you are mistaking that I have two Mac clients, one runs correctly and the other doesn't.
0 Kudos
TimP
Honored Contributor III
1,518 Views
If the Mac sees the linux compiler installation on the NFS mount, that compiler won't work under MacOS.
0 Kudos
Georg_Z_Intel
Employee
1,518 Views
Hello,

based on Tim's concern: Do you really have two dedicated installations (Mac OS* X & Linux*) with two different and suitable licenses? Using the Mac OS* X compiler with a Linux* version won't work either.

Best regards,

Georg Zitzlsberger
0 Kudos
sanukisoba
Beginner
1,518 Views
Sorry to be late reply.
I figured out something.
I have mounted the NFS to /home/xxx of the Mac.
When I changed the mount point to /tmp, then the error was disappeared.
Do you have any idea why /home/xxx makes the error?
0 Kudos
sanukisoba
Beginner
1,518 Views
Sorry to be late reply.
I figured out something.
I have mounted the NFS to /home/xxx of the Mac.
When I changed the mount point to /tmp, then the error was disappeared.
Do you have any idea why /home/xxx makes the error?
0 Kudos
Georg_Z_Intel
Employee
1,518 Views
Hello,

this should be a public update on the problem because sanukisoba and I had a private conversion. It turned out that an old license file was used. Thus, if others are seeing the same symptoms, please check that you've stored a valid and non-expired license file in /Users/Shared/Library/Application Support/Intel/Licenses/.
I admit that the error shown does not help in finding the root cause being an invalid/expired license file. Hence I've submitted a defect ticket to improve this in the future (DPD200275662).

Best regards,

Georg Zitzlsberger
0 Kudos
Georg_Z_Intel
Employee
1,518 Views
Hello,

the problem with the incorrect allocation and misleading error message (DPD200275662) has been fixed for Intel Composer XE 2011 Update 12 and higher.

Best regards,

Georg Zitzlsberger
0 Kudos
Reply