dssat-csm-os icon indicating copy to clipboard operation
dssat-csm-os copied to clipboard

Running DSSAT48 in LINUX does not rename outputs even when FNAME in the filex was set to Y

Open gonzarizzo opened this issue 1 year ago • 3 comments

Hello,

I compiled the DSSAT source code to run on Debian GNU/Linux.

DSSAT is running correctly with the following command: ./DSCSM048 Q FILENAME.v48

However, the outputs are not renamed to the name of the filex even when FNAME parameter in the filex is set to Y.

I think this problem is related to the last line showed in the terminal once the simulations are done: sh: 1: TEMP.BAT: not found

See below the output provided in the terminal:

RUN    ROT FLO MAT TOPWT HARWT  RAIN  TIRR   CET  PESW  TNUP  TNLF   TSON TSOC
           dap dap kg/ha kg/ha    mm    mm    mm    mm kg/ha kg/ha  kg/ha t/ha
  1 MZ   1  86 161 15858  4565   263    10   417     0     0   -99      0  107
  2 WH   2 147 186  1405   876   185    10   203     0     0   -99      0  108
  3 MZ   1  87 196  9698  5238   610    10   596     8     0   -99      0  107
  4 WH   2 148 179  1091   685    90    10   148     0     0   -99      0  108
  Crop mature on JD 252 due to slowed grain filling
  5 MZ   1  86 158 10606  2432   761    10   747     0     0   -99      0  107
  6 WH   2 161 195  1057   664   193    10   198     0     0   -99      0  109
  7 MZ   1  89 196 28477 13651  1112    10  1063     6     0   -99      0  108
  8 WH   2 151 186  6173  3659   242    10   268     0     0   -99      0  110
  9 MZ   1  88 197 25412 12077  1420    10  1084   182     0   -99      0  110
 10 WH   2 149 184  7053  4402    55    10   243     4     0   -99      0  112
 11 MZ   1  84 192 23756 11160  1327    10  1058   142     0   -99      0  112
 12 WH   2 147 182  8833  4851   125    10   277     0     0   -99      0  114
 13 MZ   1  89 202 11154  3253  1039    10   807     0     0   -99      0  114
 14 WH   2 158 193     0     0    78    10    68    11     0   -99      0  115
 15 MZ   1  86 196 26886 13110  1180    10  1058    78     0   -99      0  114
 16 WH   2 155 191 11483  5418   341    10   411    16     0   -99      0  116
 17 MZ   1  80 185 23830 11298  1123    10  1057    71     0   -99      0  116
 18 WH   2 168 201  4302  2825   216    10   306     0     0   -99      0  117
 19 MZ   1  83 189 30923 16234  1301    10  1093    20     0   -99      0  117
 20 WH   2 161 193  1683  1259   168    10   209     0     0   -99      0  119
RUN    ROT FLO MAT TOPWT HARWT  RAIN  TIRR   CET  PESW  TNUP  TNLF   TSON TSOC
           dap dap kg/ha kg/ha    mm    mm    mm    mm kg/ha kg/ha  kg/ha t/ha
 21 MZ   1  78 182 17100  9597  1060    10  1003    53     0   -99      0  119
 22 WH   2 167 202  3262  1429   214    10   267    10     0   -99      0  120
sh: 1: TEMP.BAT: not found

The TEMP.BAT file does not exist in any directory.

Do you have any idea about how to fix this bug?

Thank you! Gonzalo

gonzarizzo avatar Nov 22 '23 15:11 gonzarizzo