mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2008-04-01, 01:13   #1
robo_mojo
 
robo_mojo's Avatar
 
Mar 2008

25 Posts
Default mprime on OpenBSD 4.1

Greetings,

I am trying to run mprime on an OpenBSD 4.1 box (i386, Athlon Tbird 1.0GHz).

When I run mprime from the mprime2414-freebsd.tar.gz package, I get:

Code:
Abort trap
If I run mprime from sprime2414-freebsd.tar.gz instead I get:

Code:
-bash: ./mprime: Operation not permitted
Any suggestions?
robo_mojo is offline   Reply With Quote
Old 2008-04-01, 03:32   #2
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

I would think that you'd need to compile it from source, or at least get a binary compiled on another OpenBSD system of the same architecture. Thus, you should probably just get the source tarball and follow the directions included for building mprime.
mdettweiler is offline   Reply With Quote
Old 2008-04-01, 04:04   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,851 Posts
Default

My guess is you need the correct file permissions. Do "ls -l" to see what it they, read/write/execute, are now for owner/group/all. Then do "man chown" (q to quit) to read up on chown. Assuming you are in the correct directory: Do "chown u+x sprime"; Starting sprime's menu use "./sprime -m".
paulunderwood is offline   Reply With Quote
Old 2008-04-01, 05:49   #4
robo_mojo
 
robo_mojo's Avatar
 
Mar 2008

3210 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
My guess is you need the correct file permissions. Do "ls -l" to see what it they, read/write/execute, are now for owner/group/all. Then do "man chown" (q to quit) to read up on chown. Assuming you are in the correct directory: Do "chown u+x sprime"; Starting sprime's menu use "./sprime -m".
Permission on mprime is correct (hehe I've been working with Linux systems for years so I know about permission bits and chown )

I actually got it to work by running the 23.5 FreeBSD version.

Last fiddled with by robo_mojo on 2008-04-01 at 05:49
robo_mojo is offline   Reply With Quote
Old 2008-04-01, 05:58   #5
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by robo_mojo View Post
Permission on mprime is correct (hehe I've been working with Linux systems for years so I know about permission bits and chown )

I actually got it to work by running the 23.5 FreeBSD version.
You should probably still try compiling the latest version from source, though--23.5 is pretty old. (I would suggest compiling v25.6, the latest beta version--but I don't think the source for 25.6 is publicly available, so v24.14 will have to do.)
mdettweiler is offline   Reply With Quote
Old 2008-05-04, 12:49   #6
mathemajikian
 
mathemajikian's Avatar
 
May 2005

23 Posts
Default

The FreeBSD compatibility feature is active for kernels compiled with the COMPAT_FREEBSD option and the kern.emul.freebsd sysctl enabled. (/etc/sysctl.conf)

Make sure you use the freebsd sprime versions.

Full instructions can be found here: http://www.weirdnet.nl/openbsd/mprime/

Last fiddled with by mathemajikian on 2008-05-04 at 12:50
mathemajikian is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mPrime over SSH Vincanis Information & Answers 4 2011-06-30 13:36
FBI Backdoored OpenBSD? ewmayer Linux 15 2010-12-18 05:52
ECM using gmp-ecm and mprime on a P4 geoff Factoring 60 2004-12-02 07:16
Problem with mprime (Fixed with mprime -d) antiroach Software 2 2004-07-19 04:07
Running the client under OpenBSD 3.3 _ArJaN_ NFSNET Discussion 8 2004-05-05 13:42

All times are UTC. The time now is 05:08.


Sat Oct 16 05:08:28 UTC 2021 up 84 days, 23:37, 0 users, load averages: 1.05, 1.07, 1.13

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.