Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

How do I run icc, and have it find a usable licence on the Intel AI Devcloud cluster and compile things, I have had no luck on the login node or a compute node. (Is there a different flexlm running I need to point at?)

SRoom
Beginner
1,943 Views

u29459@login-1:~$ cat build-thing.sh

#!/bin/sh

 

icc -v test.c

 

 

u29459@login-1:~$ cat build-thing.sh.o13018

 

########################################################################

#     Date:          Fri Aug 16 05:42:10 PDT 2019

#   Job ID:          13018.v-qsvr-1.aibuilder

#     User:          u29459

# Resources:          neednodes=1,nodes=1,walltime=06:00:00

########################################################################

 

 

########################################################################

# End of output for job 13018.v-qsvr-1.aibuilder

# Date: Fri Aug 16 05:43:22 PDT 2019

########################################################################

 

u29459@login-1:~$ cat build-thing.sh.e13018

 

Error: A license for Comp-CL is not available now (-15,570,115).

 

A connection to the license server could not be made. You should

make sure that your license daemon process is running: both an

lmgrd process and an INTEL process should be running

if your license limits you to a specified number of licenses in use

at a time. Also, check to see if the wrong port@host or the wrong

license file is being used, or if the port or hostname in the license

file has changed.

 

License file(s) used were (in this order):

** 1. /usr/local/licenseserver/psxe.lic

** 2. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/licenses

** 3. /opt/intel/licenses

** 4. /home/u29459/intel/licenses

** 5. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/bin/intel64/../../Licenses

** 6. /home/u29459/Licenses

** 7. /Users/Shared/Library/Application Support/Intel/Licenses

** 8. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/bin/intel64/*.lic

 

Please refer http://software.intel.com/sites/support/ for more information..

 

icc: error #10052: could not checkout FLEXlm license

u29459@login-1:~$

0 Kudos
10 Replies
JEYANTHKRI_N_Intel
1,472 Views

Hi,

 

Thank you for reaching us.

We tried running a sample c code and it works fine at our end. Could you please share your workload if it is not confidential , so that we can try from our end.

0 Kudos
SRoom
Beginner
1,472 Views

This is the simplest example without just icc -v failing, with hopefully enough info to track down

why this login node won't compile, I'm using the compiler and paths that were pre-configured before

I logged in.

 

u29459@login-1:~$ echo $PATH

/glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/bin/intel64:/glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/mpi/intel64/libfabric/bin:/glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin:/glob/development-tools/versions/intel-parallel-studio/debugger_2019/gdb/intel64/bin:/glob/intel-python/python3/bin/:/glob/intel-python/python2/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/u29459/.local/bin:/home/u29459/bin

 

u29459@login-1:~$ date

Mon Aug 19 11:37:27 PDT 2019

u29459@login-1:~$ ifconfig ens5

ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

       inet 10.2.0.1 netmask 255.255.128.0 broadcast 10.2.127.255

       inet6 fe80::5054:ff:fe09:1 prefixlen 64 scopeid 0x20<link>

       ether 52:54:00:09:00:01 txqueuelen 1000 (Ethernet)

       RX packets 180914548 bytes 743989131199 (743.9 GB)

       RX errors 0 dropped 0 overruns 0 frame 0

       TX packets 135799286 bytes 726357501325 (726.3 GB)

       TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

 

 

u29459@login-1:~$ uname -a

Linux login-1 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

 

u29459@login-1:~$ id

uid=31459(u29459) gid=31459(u29459) groups=31459(u29459),1102(c002)

 

u29459@login-1:~$ cat test.c

#include <stdio.h>

 

main() {

       printf("Tested\n");

}

u29459@login-1:~$ icc test.c

 

Error: A license for Comp-CL is not available now (-15,570,115).

 

A connection to the license server could not be made. You should

make sure that your license daemon process is running: both an

lmgrd process and an INTEL process should be running

if your license limits you to a specified number of licenses in use

at a time. Also, check to see if the wrong port@host or the wrong

license file is being used, or if the port or hostname in the license

file has changed.

 

License file(s) used were (in this order):

** 1. /usr/local/licenseserver/psxe.lic

** 2. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/licenses

** 3. /opt/intel/licenses

** 4. /home/u29459/intel/licenses

** 5. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/bin/intel64/../../Licenses

** 6. /home/u29459/Licenses

** 7. /Users/Shared/Library/Application Support/Intel/Licenses

** 8. /glob/development-tools/versions/intel-parallel-studio/compilers_and_libraries_2019.3.199/linux/bin/intel64/*.lic

 

Please refer http://software.intel.com/sites/support/ for more information..

 

icc: error #10052: could not checkout FLEXlm license

 

0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

Could you please try out the below steps:

 

Go to bash_profile:

vi ~/.bash_profile

And then add the below command if it is not there

export INTEL_LICENSE_FILE=/usr/local/licenseserver/psxe.lic

And then source it using the below command:

source ~/.bash_profile

 

Now try to run your code and confirm us whether it is working, if not try from another terminal.

0 Kudos
SRoom
Beginner
1,472 Views

I already have that line set. Also, as it has printed out above, it has tried that file.

 

Perhaps it is because it can't connect to the flexlm server, on the host referenced in there ?

 

Maybe it's not on that port, needs a restart ?

 

 

 

0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

Could you please check your mail, will continue this thread in email.

 

0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

We are able to recreate your issue now. We are working on it. Will let you know once the issue is resolved. Sorry for the inconvenience caused.

0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

Our team has fixed the issue. Could you please check and confirm us whether it is working or not.

0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

Could you please confirm us if the issue is resolved.

 

Please be informed that the thread will get closed within 2 business days assuming that the solution provided was helpful.

 

0 Kudos
SRoom
Beginner
1,472 Views
Yes, icc,icpc, and ifort all seem to be working now on basic tests. I'll be trying out fuller test compiling a project later today or over the weekend. It is probably safe to say you've fixed the issue though. Many thanks, Steve
0 Kudos
Srilekha_P_Intel
Employee
1,472 Views

Hi,

 

Thank you for your response. As the issue got resolved we are closing this thread. Please feel free to open a new thread if you are facing any further issues.

After case closure, you will receive a survey email. We appreciate it if you can complete this survey regarding the support you received.

0 Kudos
Reply