Author Topic: lmgrd error  (Read 47385 times)

0 Members and 1 Guest are viewing this topic.

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
lmgrd error
« on: January 6, 2009, 18:24 »
Hi all, I tried to install ATK 2008.10 64 bit version on a machine running 64 bit Ubuntu. But when I unzipped the ATK installer from the QW site and tried to run the command
Code
./lmgrd -c demo4.lic
the commad line gives the error:
Code
No such file or directory.
Terminal is at /home/user1/atk10/bin directory and when I give the command ls, it shows the file lmgrd. I also checked that lmgrd has an executable attribute. What is wrong here? Regards, Serhan

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: lmgrd error
« Reply #1 on: January 6, 2009, 20:11 »
Perhaps It is the wrong deamon that is shipped with the package, since lmgrd-64 bit does not work on my 64bit machine. I have to use the 32-bit version of lmgrd - I think thought that ATK was shipped with 32bit one - even in the 64bit version.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: lmgrd error
« Reply #2 on: January 6, 2009, 20:42 »
Perhaps you should try to download the 32bit on your 64bit machine, and see if you can start the license demon from the 32-bit package.

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Re: lmgrd error
« Reply #3 on: January 6, 2009, 20:50 »
Hi,

Thanks Nordland.  I'll try the steps you recommended. But if I can start 32-bit lmgrd, will I have a chance to try 64-bit ATK with 32-bit lmgrd running?

Regards,

Serhan

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #4 on: January 6, 2009, 21:10 »
If the license is node-locked, you should not run lmgrd, but instead follow these instructions.

The license is node-locked if there is no SERVER line in the license file.
« Last Edit: January 6, 2009, 21:22 by Anders Blom »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #5 on: January 6, 2009, 21:14 »
About the 64 vs 32-bit, there was indeed a problem with earlier editions of ATK, however the error is not in lmgrd, it is in the 64-bit vendor daemon, the executable file "atomist".

ATK 2008.10 64-bit version ships with a 32-bit "atomist" daemon to avoid this issue. The characteristic error message of a problematic 64-bit vendor daemon looks like

Quote
18:10:25 (atomist) Server started on hostname for:        ATKmaster
18:10:25 (atomist) ATKslave     VNL             MSMC
18:10:25 (lmgrd) atomist using TCP-port 42806
18:10:25 (lmgrd) atomist exited with status 0 signal = 17
18:10:25 (lmgrd) Since this is an unknown status, license server
18:10:25 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Re: lmgrd error
« Reply #6 on: January 7, 2009, 04:51 »
Thanks Dr. Blom :)

Regards

Serhan

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Re: lmgrd error
« Reply #7 on: January 7, 2009, 08:10 »
Yes, now I can run the ATK trial in Linux. :) Defined the license file path and no need to lmgrd :)

Wish to be able to use all the four cores of the machine with ATK effectively...

Thanks again...

Serhan

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #8 on: January 7, 2009, 10:33 »
ATK will thread on all 4 cores, but on Linux you sometimes have to do a bit manual setup of environment variables to get ATK (actually, Intel MKL) to recognize all cores. This is described in detail in the manual.

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Re: lmgrd error
« Reply #9 on: January 7, 2009, 11:09 »
Thanks again Dr. Blom. I'll watch the processor activity and I think I'll have to do a bit adjustement of MKL  :'(

May be I would use MPI that is written on the manual instead of MKL if it is easier  ;) But as I understand for a 4-core machine MKL is sufficient. MPI is for cluster calculations  ???

Regards

Serhan

Offline carbn9

  • Regular QuantumATK user
  • **
  • Posts: 24
  • Reputation: 0
    • View Profile
Re: lmgrd error
« Reply #10 on: January 7, 2009, 16:51 »
Hi Serhan, did you be able to run lmgrd? On 64-bit mandriva, i could not make neither 64-bit nor 32-bit lmgrd???

And Anders Blom, can you post the lmgrd that works on 64 bit machines on the forum??? I think these files are not so large.

Maresh

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #11 on: January 7, 2009, 17:02 »
The lmgrd is not huge (800 kb) but still larger than the allowed post max size on the forum. The 64-bit lmgrd that works, to my best knowledge, is included in the 64-bit ATK package, in the "bin" directory. If this doesn't work, please post the error messages, how to reproduce the error, etc, so we can follow up on it.

If there are specific issues for Mandriva (which is not an officially supported platform), you could try to use an lmgrd from http://www.globes.com/support/fnp_utilities_download.htm instead.

Also note the post above regarding the 32/64-bit vendor daemon.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #12 on: January 7, 2009, 22:55 »
On a quad-core, you might be better off using MKL over MPI, but it depends.

For the transmission calculation, for instance, you get a linear speedup using MPI (so, 4 times faster for you), but certainly not as much using MKL (OpenMPI). On the other hand, when you MPI-parallelize (esp the SCF loop) on a single node all processes will need X Mb of RAM = total 4X Gb, so it limits the size of the calculation you can perform, plus the processes will fight for the L2 cache a bit...

But the only way to really find out is to try it, because it differs a lot between different system sizes, geometries, and parameters like k-point sampling etc :)

Offline serhan

  • Heavy QuantumATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Re: lmgrd error
« Reply #13 on: January 8, 2009, 15:49 »
Hi all, I can now use ATK in linux 64 bit without lmgrd :) But I still wonder how can I use lmgrd  ;D I tried 32-bit lmgrd and atomist deamon but 64-bit linux says:
Code
No such file or directory
I think it is about the inappropriate files (32-bit files) in 64-bit system. Then, I tried the 64-bit lmgrd that Dr. Blom has given the link above.  With the atomist that comes with 64-bit ATK package. Then it says:
Code
16:42:06 (lmgrd) -----------------------------------------------
16:42:06 (lmgrd)   Please Note:
16:42:06 (lmgrd) 
16:42:06 (lmgrd)   This log is intended for debug purposes only.
16:42:06 (lmgrd)   In order to capture accurate license
16:42:06 (lmgrd)   usage data into an organized repository,
16:42:06 (lmgrd)   please enable report logging. Use Acresso Software Inc.'s
16:42:06 (lmgrd)   software license administration  solution,
16:42:06 (lmgrd)   FLEXnet Manager, to  readily gain visibility
16:42:06 (lmgrd)   into license usage data and to create
16:42:06 (lmgrd)   insightful reports on critical information like
16:42:06 (lmgrd)   license availability and usage. FLEXnet Manager
16:42:06 (lmgrd)   can be fully automated to run these reports on
16:42:06 (lmgrd)   schedule and can be used to track license
16:42:06 (lmgrd)   servers and usage across a heterogeneous
16:42:06 (lmgrd)   network of servers including Windows NT, Linux
16:42:06 (lmgrd)   and UNIX. Contact Acresso Software Inc. at
16:42:06 (lmgrd)   www.acresso.com for more details on how to
16:42:06 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
16:42:06 (lmgrd)   for your enterprise.
16:42:06 (lmgrd) 
16:42:06 (lmgrd) -----------------------------------------------
16:42:06 (lmgrd) 
16:42:06 (lmgrd) 
16:42:06 (lmgrd) Can't open /usr/tmp/.flexlm/lmgrdl.5871, errno: 2
master@master:~/atk-2008.10.0/bin$ 16:42:06 (lmgrd) FLEXnet Licensing (v11.6.1.0 build 66138 amd64_re3) started on master (linux) (1/8/2009)
16:42:06 (lmgrd) Copyright (c) 1988-2008 Acresso Software Inc. All Rights Reserved.
16:42:06 (lmgrd) US Patents 5,390,297 and 5,671,412.
16:42:06 (lmgrd) World Wide Web:  http://www.acresso.com
16:42:06 (lmgrd) License file(s): demo4.lic
16:42:06 (lmgrd) lmgrd tcp-port 27001
16:42:06 (lmgrd) Starting vendor daemons ... 
16:42:06 (lmgrd) Started atomist (internet tcp_port 39942 pid 5872)
16:42:06 (lmgrd) license daemon: execute process failed: (./atomist) -T master 11.6 4 -c demo4.lic
16:42:06 (lmgrd) license daemon: system error code: No such file or directory
16:42:06 (lmgrd) atomist exited with status 45 (Child cannot exec requested server)
16:42:06 (lmgrd) Please correct problem and restart daemons
 ??? ??? ??? ??? ??? ??? ??? ???   ;D I think atomist deamon has an error  ::) Regards Serhan

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: lmgrd error
« Reply #14 on: January 8, 2009, 15:56 »
You cannot use lmgrd with a node-locked license (as you have), so there is no point in trying ;)