Skip to content

Commit

Permalink
runtime: Rename folder
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Aug 13, 2021
1 parent f1e3502 commit 35d9030
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ def mkfunc(compiler, genfiles, execute, plot, build):
with open(str(funcdirname.absolute())+f"/{compiler}_{func['fname']}_output.dat", "w") as res:
subprocess.Popen([f"./{test_data['test_name']}"], env=execenv, cwd=funcdirname, stdout=res).wait()
if plot==True:
pass
mkplot(funcdirname.absolute()+f"/{compiler}_{func['fname']}_output.dat")

def mkplot(pathname):
pass

if __name__ == '__main__':
mkfunc()
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ program {{ fname }}_test
real(dp) :: ir, gf, lf
print*, "Compiled with {{ compiler }}"
print*, "x ", "gfortran_{{fname}}(x) ", &
"lfortan_{{fname}}(x) ", "abs_error "
"lfortran_{{fname}}(x) ", "abs_error "
ir = -{{ range }}
do while (ir<={{ range }})
gf = {{ fname }}(ir)
Expand Down

0 comments on commit 35d9030

Please sign in to comment.