mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-03-28, 11:13   #1
rx7350
 
rx7350's Avatar
 
Feb 2006
AR, US

14410 Posts
Default MPRIME executable 'command not found'

Why do I get this error message?

randy@randy-desktop:~$ pwd
/home/randy
randy@randy-desktop:~$ ls -al mprime
-rwxrwxrwx 1 randy randy 4015796 2005-08-09 13:01 mprime
randy@randy-desktop:~$ mprime -m
bash: mprime: command not found
randy@randy-desktop:~$


The executable is obviously there, and I changed the permissions to 777, thinking it may be an access issue.
rx7350 is offline   Reply With Quote
Old 2007-03-28, 11:36   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·3·19·31 Posts
Default

./mprime -m

You need to specify the path e.g. the current directory: "./"

If you type "$PATH" you'll see what directories your system searches for executable binaries.

Last fiddled with by paulunderwood on 2007-03-28 at 11:41
paulunderwood is offline   Reply With Quote
Old 2007-03-29, 22:46   #3
rx7350
 
rx7350's Avatar
 
Feb 2006
AR, US

2208 Posts
Default How to get two instances running.

I started the first instance with' ./mprime -d' after using the -m switch to set it up, including setting the affinity to cpu0.
I know about the '-An' switch, but when I try to start a second instance I get

randy@randy-desktop:~$ ./mprime -dA1
Another mprime is already running!

I tried to set up the 2nd instance with './mprime -mA1' but it looked like I was editing the files for the first instance.

Also, I didn't see any option 'Start at bootup'
rx7350 is offline   Reply With Quote
Old 2007-03-29, 22:55   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·3·19·31 Posts
Default

Hmm. Please may we have a sticky in the linux section explaining how to start mprime or LLR with either "crontab" or "rc.local" or this if rc.local does not exist on your system -- for Suse Linux -- plus instructions on how to run several instances of mprime on multiprocessor machines?

Last fiddled with by paulunderwood on 2007-03-29 at 23:30
paulunderwood is offline   Reply With Quote
Old 2007-03-29, 23:48   #5
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

67168 Posts
Default

Quote:
randy@randy-desktop:~$ pwd
/home/randy
randy@randy-desktop:~$ ls -al mprime
-rwxrwxrwx 1 randy randy 4015796 2005-08-09 13:01 mprime
In order to keep "your home" directory tidy, create a directory called "mprime_dir":

Quote:
mkdir ~/mprime_dir
and use the "mv" command to move the mprime stuff into it:

Quote:
mv ~/mprime ~/mprime_dir
etc...

(where "~/" stands for your home directory)

Last fiddled with by paulunderwood on 2007-03-29 at 23:51
paulunderwood is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from command line pepi37 Linux 4 2015-07-16 22:06
Windows command line mu5tan6 Software 14 2015-03-20 17:21
Refurb. Mac emits "Bad CPU type in executable" error ewmayer Hardware 15 2014-08-11 22:03
64 bit mprime "not in executable format" Mr. P-1 Information & Answers 5 2013-02-08 16:06
CUDA executable code nucleon GPU Computing 4 2013-02-04 22:44

All times are UTC. The time now is 23:03.

Mon Jan 25 23:03:57 UTC 2021 up 53 days, 19:15, 0 users, load averages: 1.93, 2.22, 2.14

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.