|
楼主 |
发表于 2019-1-14 15:40
|
显示全部楼层
本帖最后由 mxlzhenzhu 于 2019-1-14 15:57 编辑
nvh@nvh-virtual-machine:~$ auto
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(AUTOInteractiveConsole)
AUTO> mkdir ab
AUTO> cd ab
AUTO> demo('ab')
Copying demo ab ... done
Runner configured
AUTO> auto('ab.auto')
***Generate starting data***
gfortran -fopenmp -O -c ab.f90 -o ab.o
gfortran -fopenmp -O ab.o -o ab.exe /home/nvh/auto/07p/lib/*.o
Starting ab ...
BR PT TY LAB PAR(2) L2-NORM U(1) U(2)
1 1 EP 1 8.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
1 31 UZ 2 1.40000E+01 0.00000E+00 0.00000E+00 0.00000E+00
1 36 UZ 3 1.50000E+01 0.00000E+00 0.00000E+00 0.00000E+00
1 41 UZ 4 1.60000E+01 0.00000E+00 0.00000E+00 0.00000E+00
1 46 UZ 5 1.70000E+01 0.00000E+00 0.00000E+00 0.00000E+00
1 51 UZ 6 1.80000E+01 0.00000E+00 0.00000E+00 0.00000E+00
Total Time 0.572E-02
ab ... done
***Compute stationary solution families***
Starting ab ...
Traceback (most recent call last):
File "/usr/lib/python3.6/code.py", line 91, in runcode
exec(code, self.locals)
File "ab.auto", line 12, in <module>
ab = ab + run(solution,c='ab.2')
File "/home/nvh/auto/07p/python/AUTOCommands.py", line 1585, in run
res = runner.run()
File "/home/nvh/auto/07p/python/runAUTO.py", line 377, in run
self.runCommand(command, solution)
File "/home/nvh/auto/07p/python/runAUTO.py", line 478, in runCommand
status = self.__runCommand_noredir(command, solution)
File "/home/nvh/auto/07p/python/runAUTO.py", line 534, in __runCommand_noredir
self.__write_constants_solution(stdin, solution)
File "/home/nvh/auto/07p/python/runAUTO.py", line 515, in __write_constants_solution
solution.write(f,mlab=True)
File "/home/nvh/auto/07p/python/parseS.py", line 1066, in write
write_enc(line+os.linesep)
File "/home/nvh/auto/07p/python/parseS.py", line 1032, in write_enc
output.write(s.encode("ascii"))
TypeError: write() argument must be str, not bytes
AUTO>
Does anyone know how to deal with this error?
|
|