Ignore:
Timestamp:
12/16/19 19:30:56 (2 years ago)
Author:
yushan
Message:

dev_trunk_omp : corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/Compile/config_compile.py

    r1792 r1795  
    4242                        configs_arg[1].append(word) 
    4343                                 
    44     # print(configs_arg) 
    45  
    46     f=open("compile_script.sh", "w") 
    47     for i in range(len(configs_arg[0])): 
    48         for j in range(len(configs_arg[1])): 
    49             build_dir_name = "build_"+configs_arg[0][i]+"_"+configs_arg[1][j] 
    50             f.write("bash -c \"cd .. && ./make_xios --arch "+configs_arg[0][i]+" --"+configs_arg[1][j]+" --omp --job 4 --build_dir "+build_dir_name+" | tail -n 1 >> Compile/"+build_dir_name+"_compile_log.txt\"\n") 
    51     f.close() 
    5244 
    5345 
     
    6860    for i in range(len(configs_arg[0])): 
    6961        for j in range(len(configs_arg[1])): 
    70             build_dir_name = "build_"+revision+"_"+configs_arg[0][i]+"_"+configs_arg[1][j] 
    71             # os.system("rm -f "+build_dir_name+"_compile_log.txt") 
     62            build_dir_name = "build_"+configs_arg[0][i]+"_"+configs_arg[1][j] 
    7263            g=open(build_dir_name+"_compile_log.txt", "w") 
    7364            g.write("arch "+configs_arg[0][i]+"\n") 
Note: See TracChangeset for help on using the changeset viewer.