<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body dir="auto">Dear Klaus,<div><br></div><div>Thank you for the reply.</div><div><br></div><div>For me the point 1) is the most useful.</div><div>So I just have to compile the code in the output directory. Very easy and effective.</div><div><br></div><div>Thank you.</div><div><br></div><div>Best regards,</div><div>Mattia</div><div><br><div id="AppleMailSignature" dir="ltr"><div class=""><div class="" style="font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;"><div class=""><span style="background-color: rgba(255, 255, 255, 0);">________________________________</span></div><div class=""><span style="background-color: rgba(255, 255, 255, 0);"><br class=""></span></div><span style="background-color: rgba(255, 255, 255, 0);"> Dr <b class="">Mattia Cipriani,</b> PhD</span></div><span style="background-color: rgba(255, 255, 255, 0);"><span class=""> </span><span class=""></span><span class=""></span><span class=""><img apple-inline="yes" id="392838D2-AFF9-4275-B205-61AFC2E09993" class="" src="cid:6A933F8A-7AD5-42D1-BE3E-114E9520970E@frascati.enea.it" _mf_state="2" action="null" title="null"></span><br class="Apple-interchange-newline"><span class="" style="float: none; display: inline !important;"> FSN-FUSPHY-SAD</span><br class=""></span><div class=""><span style="background-color: rgba(255, 255, 255, 0);"> <a href="x-apple-data-detectors://1" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="text-decoration-color: rgba(0, 0, 0, 0.258824);">45, Via E. Fermi</a><br class=""><a href="x-apple-data-detectors://1" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="text-decoration-color: rgba(0, 0, 0, 0.258824);"> 00044</a> Frascati (Rome)<br class=""> Italy</span></div><div class=""><span style="background-color: rgba(255, 255, 255, 0);"> Ufficio: <a href="x-apple-data-detectors://2/0" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0" style="text-decoration-color: rgba(0, 0, 0, 0.258824);">Building 12</a></span></div><div class=""><span style="background-color: rgba(255, 255, 255, 0);"> Room 12223<a href="x-apple-data-detectors://2/0" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0" style="text-decoration-color: rgba(0, 0, 0, 0.258824);"><br></a></span><span style="background-color: rgba(255, 255, 255, 0);"> Tel. <a href="tel:+39%20069400%205145" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2/1" style="text-decoration-color: rgba(0, 0, 0, 0.258824);">+39 069400 5145</a> <br class=""> Mobile <a href="tel:+39%20328%205552077" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2/2" style="text-decoration-color: rgba(0, 0, 0, 0.258824);">+39 328 5552077</a><br class="">_________________________________</span></div></div></div><div dir="ltr"><br>Il giorno 16 set 2019, alle ore 16:54, Klaus Weide <<a href="mailto:klaus@flash.uchicago.edu">klaus@flash.uchicago.edu</a>> ha scritto:<br><br></div><blockquote type="cite"><div dir="ltr"><span>On Mon, 16 Sep 2019, Mattia Cipriani wrote:</span><br><span></span><br><blockquote type="cite"><span>Dear FLASH users,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I am experiencing problems when the path of the output folder written in the flash.par file is longer than some value.</span><br></blockquote><blockquote type="cite"><span>In particular the output files cannot be written completely and cause the job to crash.</span><br></blockquote><blockquote type="cite"><span>The remnant of the file in the output folder has a truncated name compared to the expected one.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Do you have any suggestion to solve this issue?</span><br></blockquote><span></span><br><span>Hi Mattia,</span><br><span></span><br><span>A maximum string length is built into FLASH and used for many string </span><br><span>variables, including apparently and unfortunately those used for storing </span><br><span>file name components.</span><br><span></span><br><span>Are you trying to use the "output_directory" runtime parameter with a long </span><br><span>directory name?</span><br><span></span><br><span>It seems that the concatenation of the value of output_directory and</span><br><span>the proper filename (which depends on basenm) needs to be below 80 bytes,</span><br><span>to avoid trouble.</span><br><span></span><br><span>The suggestions I have all involve avoiding strings that are too long.</span><br><span></span><br><span>1) Don't use output_directory RP at all (leave it empty), just make</span><br><span>sure that flash4 is started in the directory where you want the output</span><br><span>files to appear. The length of the directory name then should not matter </span><br><span>to FLASH.</span><br><span></span><br><span>2) Use shorter directory names (maybe by having a flatter directory </span><br><span>hierarchy), shorten basenm if it is long.</span><br><span></span><br><span>3) Use a link to refer to a directory with a long pathname</span><br><span>by a short alias.</span><br><span></span><br><span>Klaus</span><br></div></blockquote></div></body></html>