When trying to run map i get the following:
Waiting for licence
Arm Forge 21.0 - Arm MAP
MAP: Your current licence (12827) does not permit as many processes as you requested.
MAP: Requested Processes: 5
MAP: Available Processes: 1
MAP: Please contact the Arm Forge support team if you wish to profile more processes.
It runs fine on a single process, but not on multiple.
How do I run this on more than one process? I would expect that a single license seat is all that should be required to run a parallel job, not seats=num of processes.
Is this an error?
Hi,
Thank you for the question. According to our records licence 12827 has "max_processes=1" which explicitly means you can't request more than one process per session.
> How do I run this on more than one process?You'd need a licence upgrade, I'd advise you speak with your sys admins. Unfortunately you won't be able to debug more than 1 process with this licence.
Actually there is a valid multiprocess license in the license directory - but map seems to pick up the serial one. Any idea how I tell it to pick up the right license - the only environment variable I can find is 'ALLINEA_LICENSE_DIR', which is set correctly.
Try setting the environment variable "ALLINEA_LICENCE_FILE" to the licence of your choice
That doesn't seem to help - still picks up the serial one.
Actually unsetting the ALLINEA_LICENSE_DIR forces it. to pick up the right one, but I now get this error:
Licence error Arm MAP Licence 11578 in file "/software/licence/arm-forge/Licence.11578" is invalid. Floating licences must be served using licenceserver.
Can you check if your systems' licenceserver is up? It seem as though your client license is valid, but either the server is down or possibly the server hostname is not set correctly in the client licence
It looks like you may have installed the server licence instead of a client licence, do you have copies of both? The server licence is meant to go on the machine hosting licenceserver.
The license server is up. How do I know which is the server license and which is the client one? It looks like there are a lot of licenses lying around on the machine. At the moment the license in
/opt/allinea/licenseserver/licences/Licence
is type 2 and has the mac address and port etc.
But there is another (the wrong license) in
/opt/allinea/licenseserver/licences/Licence.12827
Map is currently picking up 12827 when I run it.
On the client side there is:
/software/licence/arm-forge/Licence
which is type 2 and has 6 or so lines without the mac address and serial number 12827.
But there is also
/software/licence/arm-forge/Licence.11578
which is a copy of the sever licence at
So I guess what I need is the client licence for 11587 copied to
RIght?
>So I guess what I need is the client licence for 11587 copied to >/software/licence/arm-forge/Licence
Yes. Can you send the output of
cat /software/licence/arm-forge/Licence.11587
just to be sure it's the wrong one.
type=3
serial_number=11578
max_processes=1024
features=ddt,map,perf-report,cuda,metrics-pack,arch:x86_64,arch:aarch64
expires=2022-08-31 23:59:00
support_expires=2022-08-31 23:59:00
mac=24:8a:07:e3:02:e0
interface=any
debuggers=gdb
serverport=4241
max_users=1024
beat=60
retry_limit=5
max_all_processes=1024
hash2=13f376cf.................
Yes that is definitely the server licence. Try using this client licence template:
--type=2serial_number=11578hostname={your server hostname here}serverport=4241features=ddt,map,perf-report,cuda,metrics-packhash2=e0f91af1a787694f4838cb7a797dc59d1675f3dd--
Great - thats sorted it. Thanks!