#10607: Update phcpack to latest verson
---------------------------------+------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: optional packages | Keywords: phcpack, homotopy solver,
numerical
Work_issues: | Upstream: N/A
Reviewer: | Author: Marshall Hampton
Merged: | Dependencies:
---------------------------------+------------------------------------------
Comment(by jhpalmieri):
On !OpenSolaris x86 (fulvia on skynet): when trying to execute {{{sol =
phc.blackbox(start_sys1, R1, verbose=False)}}}, I get
{{{
sh: phc: cannot execute
}}}
(A binary is installed, I assume the sun one since uname outputs "SunOS",
but that should be for SunOS on sparc, not on x86.) Is it worth putting
some sort of warning message in spkg-install if the OS is SunOS but the
processor is x86? Something like this?
{{{
#!diff
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -24,7 +24,10 @@ if main_arch == "Linux":
#if main_arch == "AIX": #Not currently supported by Sage, although
phcpack binaries exist
# ARCH = "aix"
if main_arch == "SunOS":
- ARCH = "sun"
+ if 'sun' in main_arch:
+ ARCH = "sun"
+ else:
+ print("This package does not work on OpenSolaris on x86.")
sage_local = os.environ['SAGE_LOCAL']
print sage_local
os.system('mv ' + 'binaries/phc_' + ARCH + ' ' + sage_local + '/bin/phc')
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10607#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.