| 1 | initial version |
I tried and i cannot reproduce it on GNU/Linux x86_64. I got (without error):
sage: fork_test()
parent, child: 5167
child
2
(i replaced the "dummy matrix calculation" by print 1+1).
Hence, there might be a problem with your build. Did you download the binary corresponding to your OS ? Which one (architecture, OS, Sage binary) ? Did you compile Sage by yourself ? Which version ? Does it work if you run it from a python shell on the same machine (type python from the command line, not sage nor sage -python) ?
| 2 | No.2 Revision |
I tried and i cannot reproduce it on GNU/Linux x86_64. I got (without error):
sage: fork_test()
parent, child: 5167
child
2
(i replaced the "dummy matrix calculation" by print 1+1).
Hence, there might be a problem with your build. build (and more precisely the python binary). Did you download the binary corresponding to your OS ? Which one (architecture, OS, Sage binary) ? Did you compile Sage by yourself ? Which version ? Does it work if you run it the first script from a python shell on the same machine (type python from the command line, not sage nor sage -python) ?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.