version 1.6, 1999/11/11 10:58:44 |
version 1.30, 2008/02/18 06:36:12 |
|
|
%% $OpenXM: OpenXM/install.txt,v 1.5 1999/10/30 20:47:56 maekawa Exp $ |
%% $OpenXM: OpenXM/install.txt,v 1.29 2004/03/31 01:42:58 takayama Exp $ |
OpenXM/install.txt in Japanese |
|
As to English version see install.eg.txt |
|
|
|
$B!z(B OpenXM $B%Q%C%1!<%8$N(B Make $BK!(B |
The OpenXM package is a package of mathematical software systems. |
(FreeBSD 2.2.8, FreeBSD 3.3, Linux $B$GF0:n$9$k$b$N$H4|BT$7$F$^$9(B.) |
They are integrated with the OpenXM protocols. |
cd OpenXM/src |
The OpenXM protocol provides an infrastructure for |
make configure |
mathematical software systems. |
make |
|
|
|
$B!z(B OpenXM $B%Q%C%1!<%8(B( pari $B$H(B asir $B$r4^$`(B) $B$N(B Make $BK!(B 2. |
As to installation procedures, |
(FreeBSD 2.2.8, FreeBSD 3.3, Linux $B$GF0:n$9$k$b$N$H4|BT$7$F$^$9(B.) |
see doc/install-en.txt in English |
cd OpenXM/src |
and |
make -f Makefile.pari-asir configure |
see doc/install-ja.txt in Japanese. |
make -f Makefile.pari-asir |
|
|
|
|
These files will be generated from install.oxweave by |
|
cd doc |
|
make |
|
in the source distribution. |
|
|
$B!z(B OpenXM $B%Q%C%1!<%8$NMxMQJ}K!(B |
As to the licence of OpenXM, see the directory Copyright (BSD, Fujitsu, ...). |
OpenXM $B$r%[!<%`$ND>2<$KE83+$7$?>l9g(B, |
We understand that you agree with our licence when you started "make". |
[3]$B$G2r@b$7$?(B .asirrc $B$r$+$1$P(B, $B$"$H$O(B |
If you provide binaries generated to "users", you need to let users know |
bash $B$N>l9g$J$i(B, source OpenXM/rc/bashrc |
that we understand that once an user starts our system, he/she agrees |
csh $B$N>l9g$J$i(B, source OpenXM/rccshrc |
with our licence. |
$B$r<B9T$9$l$P$9$Y$F$N4D6-@_Dj$,=*N;$7$^$9(B. |
|
$B0J>e(B. $B0J2<$N;HMQNc$X?J$s$G2<$5$$(B. |
|
|
|
$B$=$&$G$J$$>l9g$O0J2<$N$h$&$K@_Dj$9$kI,MW$,$"$j$^$9(B. |
-------- An instruction for a quick installation from the source code --- |
|
During the installation, some library souces are automatically downloaded |
|
by the wget command. If you are in a firewall and cannot use even the passive |
|
ftp, the environmental variable ftp_proxy may help you. |
|
See the document of wget. All necessary library sources are downloaded in |
|
OpenXM_dist at the same level of OpenXM. If you are offline, please put |
|
all library sources necessary in this directory by hand. |
|
|
[1] $B4D6-JQ?t(B OpenXM_HOME $B$N@_Dj(B. |
(cd OpenXM/src ; make install) |
setenv OpenXM_HOME OpenXM$B$X$N%Q%9(B (C$B%7%'%k(B, tcsh $B$N>l9g(B) |
You will get binaries, libraries, and documents under |
$B$^$?$O(B |
OpenXM/bin, OpenXM/lib, OpenXM/doc |
OpenXM_HOME = OpenXM$B$X$N%Q%9(B (sh, bash $B$N>l9g(B) |
(cd OpenXM/rc ; make install) |
export OpenXM_HOME |
Shell scripts to start "asir", "sm1", ... will be copied to |
$B$G(B openXM $B$N%[!<%`%G%#%l%/%H%j$r;XDj$7$^$9(B. |
/usr/local/bin |
$B$?$H$($P(B, |
or (cd OpenXM/rc ; make ) |
OpenXM_HOME = /home/nobuki/OpenXM |
and include dot.bashrc or dot.cshrc generated from your .bashrc or .cshrc |
export OpenXM_HOME |
by the command source; source dot.bashrc or source dot.cshrc. |
|
|
[2] |
------- If you need only asir and kan, |
|
(cd OpenXM/src ; make install-asir2000 ; make install-k097 ) |
|
You will get only asir and kan/sm1. |
|
(cd OpenXM/rc ; make install) |
|
|
[3] |
------- Generating html/ps documents under OpenXM/doc |
~/.asirrc $B$K(B |
After installation, |
load("gr")$ |
(cd OpenXM/src ; make install-document) |
load("primdec")$ |
|
end$ |
|
$B$H=q$$$F$*$/(B. |
|
|
|
[4] ($B$^$?$O(B [5]) |
------------------------------------------- |
$B4D6-JQ?t$r@_Dj$9$k$3$H$K$h$j(B, [5] $B$N$h$&$K(B/usr/local $B$X%j%s%/$r$O$l$J$/$F$b(BOK. |
Risa/Asir with asir-contrib is the main client system in the OpenXM project. |
|
You can start Risa/Asir by the command "asir", which is called |
|
OpenXM/Risa/Asir. |
|
It is build by (cd OpenXM/src ; make install-asir-contrib) |
|
The manual of Risa/Asir and Asir-contrib can be found in the |
|
OpenXM/doc directory and http://www.openxm.org |
|
|
[a] ASIR_LIBDIR=$OpenXM_HOME/lib/asir |
-------------- |
[b] LOAD_SM1_PATH=$OpenXM_HOME/lib/sm1 |
gc and gmp will be automatically downloaded from |
[c] $OpenXM_HOME/bin $B$r%3%^%s%I%5!<%A%P%9$K2C$($k(B. |
ftp.math.kobe-u.ac.jp/pub/OpenXM/misc |
csh $B$N>l9g(B : set path=($OpenXM_HOME/bin $path) |
and stored in OpenXM_dist (OpenXM/../OpenXM_dist) by wget. |
rehash |
If you cannot connect to the ftp server directory, |
bash $B$N>l9g(B : PATH=$OpenXM_HOME/bin:$PATH |
please download the files at ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/gc* |
export PATH |
and ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/gmp* |
|
under OpenXM_dist by hand before make. |
|
If you can connect to the ftp server via a proxy server, |
|
specify your ftp proxy server in ~/.wgetrc as |
|
ftp_proxy = http://proxy.yoyodyne.com:18023/ |
|
See the manual of wget for details. |
|
|
|
|
(LOAD_K_PATH ) |
|
|
|
$B$^$?$O(B |
|
[5] |
|
$B0J2<$N$h$&$K(B, $B%7%s%\%j%C%/%j%s%/$r$O$C$F2<$5$$(B. |
|
|
|
ln -s $OpenXM_HOME/lib/asir /usr/local/lib/asir |
|
ln -s $OpenXM_HOME/lib/sm1 /usr/local/lib/sm1 |
|
|
|
* Open XM $BBP1~(B gnuplot $B$rMxMQ$7$?$$>l9g(B, |
|
$OpenXM_HOME/bin $B$N$7$?$N(B gnuplot_x11 $B$X%3%^%s%I%5!<%A%Q%9$+$i%j%s%/$r$O$j$^$9(B. |
|
$B$?$H$($P(B |
|
ln -s OpenXM_HOME/bin/gnuplot_x11 /usr/local/bin |
|
$OpenXM_HOME/bin/gnuplot_x11 $B<+BN$r0\F0$9$k$H$?$@$7$/F0:n$7$J$$$N$GCm0U(B. |
|
* asir $B$rMxMQ$7$?$$>l9g(B, |
|
$OpenXM_HOME/bin $B$N$7$?$N(B asir $B$X%3%^%s%I%5!<%A%Q%9$+$i%j%s%/$r$O$j$^$9(B. |
|
* sm1 $B$rMxMQ$7$?$$>l9g(B, |
|
$OpenXM_HOME/bin $B$N$7$?$N(B sm1 $B$X%3%^%s%I%5!<%A%Q%9$+$i%j%s%/$r$O$j$^$9(B. |
|
|
|
|
|
$OpenXM_HOME/bin $B$N2<$N(B, fep, phc, asir $B$O(B, $B$$$^$N$H$3$m(B |
|
linux $BMQ$N%P%$%J%j$^$?$O%P%$%J%j$X$N%7%s%\%j%C%/%j%s%/$G$9(B. |
|
Linux $B0J30$N>l9g$O%P%$%J%j$rF~$l49$($kI,MW$,$"$j$^$9(B. |
|
|
|
--------------- $B%$%s%9%H!<%k40N;(B --------------------------- |
|
|
|
$B!z;HMQNc(B |
|
|
|
OpenXM $B$O(B X-window $B>e$G$7$+F0:n$7$^$;$s(B. |
|
|
|
---------------- Asir $B%/%i%$%"%s%H$N;H$$$+$?(B. |
|
---------------- $BNc(B : asir $B$K(B kan/sm1 $B$rAH$_9~$`(B. |
|
asir |
|
load("xm"); |
|
P=sm1_start(); /* P $B$O%W%m%;%9HV9f(B */ |
|
load("katsura"); |
|
sm1_pgb(P,[katsura(4),[u0,u1,u2,u3,u4]]); /* sm1 $B$G%0%l%V%J4pDl$r7W;;(B */ |
|
|
|
--------------- $BNc(B : asir $B$h$j(B gnuplot $B$r8F$S=P$9(B. |
|
asir |
|
load("xm"); |
|
P=gnuplot_start(); |
|
gnuplot(P,"plot tan(x); "); |
|
gnuplot(P,"splot sin(x)*cos(x); "); |
|
|
|
--------------- $BNc(B : asir $B$h$j(B tigers $B$r8F$S=P$9(B. |
|
asir |
|
load("xm"); |
|
tigers_start(); |
|
B = tigers(0,[[1,1,1,1],[0,1,2,3]]); |
|
length(B) $B$O(B 8 $B$G$9(B. $B$3$l$O(B, $B9TNs(B A = [[1,1,1,1],[0,1,2,3]] |
|
$B$KIU?o$7$?(B, toric ideal I_A $B$N(B Grobner fan $B$,(B 8 $B$D$N(B maximal |
|
dimensional fan $B$r;}$D$3$H$r0UL#$7$^$9(B. |
|
A[i] $B$O(B i $BHVL\$N(B GB ($B%0%l%V%J4pDl(B)$B$G$9(B. |
|
Binomial polynomial x^a-x^b $B$r(B [[a_1, ..., a_n],[b_1, ..., b_n]] $B$J$k7A<0$G(B |
|
$BI=<($7$^$9(B. |
|
$B$?$H$($P(B A[0]; |
|
[[[1,0,1,0],[0,2,0,0]],[[1,0,0,1],[0,1,1,0]],[[0,1,0,1],[0,0,2,0]]] |
|
$B$G$9$+$i(B, |
|
x1 x3 - x2^2, x1 x4 - x2 x3, x2 x4 - x3^2 |
|
$B$,(B GB $B$G$"$j(B, initial ideal $B$O(B |
|
x1 x3 , x1 x4 , x2 x4 |
|
$B$G@8@.$5$l$F$$$^$9(B. |
|
|
|
---------------------------------- |
|
sm1 |
|
(oxasir.sm1) run ; |
|
(x^20-1). fctr pmat ; sm1 $B$h$j(B ox_asir $B$r8F$S=P$7$F0x?tJ,2r$5$;$k(B. |
|
|
|
|
|
|
|
[$BCx:n8"I=<((B] ($B8=:_%F%9%HHG$N$?$a>pJs$,40Hw$7$F$^$;$s(B) |
|
$B$3$N%=%U%H%&%(%"$OF0:n$*$h$S$=$N7k2L$K$D$-(B, $B0l@Z$NJ]>Z$r$7$^$;$s(B. |
|
$B%i%$%;%s%97ABV$K$D$$$F$O8=:_8!F$Cf$G$"$j$^$9(B. |
|
|
|
OpenXM : url http://www.math.kobe-u.ac.jp/openXM |
|
cvs cite : kerberos.kobe-u.ac.jp |
|
sm1 : $B:n<T(B Nobuki Takayama, url http://www.math.kobe-u.ac.jp/KAN, |
|
$B%i%$%;%s%97ABV(B GPL |
|
asir : $B:n<T(B url |
|
$B%i%$%;%s%97ABV(B ?? |
|
gnuplot : $B:n<T(B url |
|
$B%i%$%;%s%97ABV(B GPL |
|
phc : $B:n<T(B Jan Verschelde, url |
|
$B%i%$%;%s%97ABV(B ?? |
|
tigers : $B:n<T(B Birk Hubert, url |
|
$B%i%$%;%s%97ABV(B ?? |
|
|
|
|
|
[OpenXM_HOME $B2<$N%U%!%$%k$N9=@.(B] |
|
lib/asir $B$K$O(B, asir $B$N%i%$%V%i%j(B, ox_asir $BK\BN(B |
|
(ox_asir.xxyyzz.os $B$J$kL>A0$G3JG<$5$l$F$$$^$9(B) |
|
|
|
lib/sm1 $B$O(B src/SSkan/Doc $B$X$N(B symbolic link |
|
$B$G$"$j(B, sm1 $B$N%i%$%V%i%j%U%!%$%k$,3JG<$5$l$F$$$^$9(B. |
|
lib/sm1/bin $B$K$O(B, binaryfiles |
|
sm1, ox_sm1, ox, ox_log, ox_sm1_* |
|
$B$X$N%7%s%\%j%C%/%j%s%/$,3JG<$5$l$^$9(B. |
|
$B$3$N%7%s%\%j%C%/%j%s%/$O(B src/kxx $B$G(B make install $B$r<B9T$9$k$3$H$K$h$j(B |
|
$B:n@.$5$l$^$9(B. |
|
|
|
sm1 $B$,(B ox_asir $B$rMxMQ$9$k$N$KI,MW$J%U%!%$%k(B. |
|
lib/asir/ox_asir, |
|
lib/sm1/bin/ox, lib/sm1/bin/ox_log (src/kxx/ox, src/kxx/ox_log) |
|
lib/sm1/ox.sm1, lib/sm1/oxasir.sm1 |
|
|
|
asir $B$,(B ox_sm1_forAsir $B$rMxMQ$9$k$N$KI,MW$J%U%!%$%k(B: |
|
lib/asir/ox_launch |
|
lib/sm1/bin/ox_sm1_forAsir (ox_sm1 $B$X$N%j%s%/(B) |
|
lib/asir/xm |
|
lib/sm1/*.sm1 $B$NA4$F$N(B cohom $B%i%$%V%i%j%U%!%$%k(B. |
|
callsm1.sm1 callsm1b.sm1 |
|
(ox_sm1_forAsir $B$NDj5A%U%!%$%k(B, src/kxx/oxserver00.c |
|
ox_sm1 $B$,(B ox_sm1_forAsir $B$H$$$&L>A0$G8F$P$l$k$H$3$l$i$N%U%!%$%k$r%m!<%I(B.) |
|
|
|
asir $B$,(B ox_sm1_gnuplot $B$rMxMQ$9$k$N$KI,MW$J%U%!%$%k(B: |
|
lib/asir/ox_launch |
|
lib/sm1/bin/ox_sm1_gnuplot (ox_sm1 $B$X$N%j%s%/(B, ox_sm1_gnuplot $B$O(B fork $B$7$F(B |
|
gnuplot_forox $B$r<B9T$7$^$9(B.) |
|
lib/asir/xm |
|
lib/sm1/callsm1.sm1, lib/sm1/gnuplot.sm1 |
|
(ox_sm1_gnuplot $B$NDj5A%U%!%$%k(B, src/kxx/oxserver00.c |
|
ox_sm1 $B$,(B ox_sm1_gnuplot $B$H$$$&L>A0$G8F$P$l$k$H$3$l$i$N%U%!%$%k$r%m!<%I(B.) |
|
bin/gnuplot_forox, bin/gnuplot_x11 (gnuplot $BK\BN(B, src/gnuplot*) |
|
|
|
|
|
|
|
---------------------------------------- |
|
[$B3+H/<TMQ%a%b(B] |
|
<< openXM $B%G%#%l%/%H%jG[I[HG$N:n@.J}K!(B. >> |
|
cd OpenXM/src |
|
make clean |
|
OpenXM $BA4BN$r(B tar $B$9$l$P$h$m$7$$(B. |
|
|
|
<< sm1, ox_sm1, ox, oxlog $B$N(B debug >> |
|
binary file $B$O3F(B directory $B$N(B make install $B$K$h$j(B |
|
OpenXM/bin $B$K%3%T!<$5$l$^$9$,(B, |
|
debug $BMQ$K$$$A$$$A%3%T!<$9$k$N$OLLE]$J$N$G(B, |
|
OpenXM/src/kan96xx $B$G(B make install2 |
|
OpenXM/src/kxx $B$G(B make install2 |
|
$B$r<B9T$9$k$H(B, |
|
OpenXM/bin/sm1, ox, ox_sm1, oxlog $B$h$j(B, |
|
OpenXM/src/kan96xx/Kan/sm1 |
|
OpenXM/src/kxx/ox, OpenXM/src/kxx/ox_sm1, OpenXM/src/kxx/oxlog |
|
$B$X$N%7%s%\%j%C%/%j%s%/$,:n@.$5$l$^$9(B. |
|
|
|
[CVS$B%3%_%C%?MQ%a%b(B] |
|
<< openXM $B%G%#%l%/%H%jG[I[HG$N:n@.J}K!(B Part.2 >> |
|
rcvs export -rHEAD OpenXM |
|
$B$7$F(B, OpenXM $BA4BN$r(B tar+gzip. |
|