Error in lines 1-1
Traceback (most recent call last):
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 947, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 988, in execute_with_code_decorators
code = code_decorator(code)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_salvus.py", line 1924, in fortran
raise RuntimeError("failed to compile Fortran code:\n" + log_string)
RuntimeError: failed to compile Fortran code:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/f2py2e.py", line 648, in main
run_compile()
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/f2py2e.py", line 633, in run_compile
setup(ext_modules=[ext])
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/projects/sage/sage-6.10/local/lib/python/distutils/core.py", line 151, in setup
dist.run_commands()
File "/projects/sage/sage-6.10/local/lib/python/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/projects/sage/sage-6.10/local/lib/python/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/command/build.py", line 47, in run
old_build.run(self)
File "/projects/sage/sage-6.10/local/lib/python/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/projects/sage/sage-6.10/local/lib/python/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/projects/sage/sage-6.10/local/lib/python/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/command/build_src.py", line 147, in run
self.build_sources()
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/command/build_src.py", line 164, in build_sources
self.build_extension_sources(ext)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/command/build_src.py", line 326, in build_extension_sources
sources = self.f2py_sources(sources, ext)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/distutils/command/build_src.py", line 563, in f2py_sources
['-m', ext_name]+f_sources)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/f2py2e.py", line 408, in run_main
postlist = callcrackfortran(files, options)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/f2py2e.py", line 329, in callcrackfortran
postlist = crackfortran.crackfortran(files)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/crackfortran.py", line 3216, in crackfortran
readfortrancode(files, crackline)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/numpy/f2py/crackfortran.py", line 422, in readfortrancode
'this code is in fix form?\n\tline=%s' % repr(l))
Exception: readfortrancode: Found non-(space,digit) char in the first column.
Are you sure that this code is in fix form?
line='PRINT()'
[10351, [1, -1, 0, -1], 1, [11, 1; 941, 1], [[1, 5, 0, 1], [1, 5, 0, 1]]]
625 loops, best of 3: 523 µs per loop
<type 'sage.libs.gap.element.GapElement_Integer'>
625 loops, best of 3: 895 ns per loop
584.357541899441
4
4
<class 'sage.interfaces.gap.GapElement'>
<class 'sage.interfaces.gap.GapElement'>
<class 'sage.interfaces.gp.GpElement'>
<class 'sage.interfaces.maxima.MaximaElement'>
<class 'sage.interfaces.singular.SingularElement'>
<type 'sage.rings.integer.Integer'>
<type 'int'>
4
'4.7.8'
SageMath in a Worksheet in SMC
2
2*x + 1
Interact: please open in CoCalc
3D rendering not yet implemented