Hi Parth - This does sound like a frustrating problem. Could you tell us more about the system on which your are trying to build Chapel? I can see that it was detected as linux64 - but which distribution? Is it a system that you have admin access to? What filesystem is /home/parth/chapel using?
I haven't ever heard of a filesystem with a maximum path length less than 255, and the path giving you an error is about 220 characters long. (Except for very old filesystems, the max file/dir name can usually be up to 255 bytes long). There is a command that should report these limits. Try: getconf NAME_MAX /home/parth/chapel getconf PATH_MAX /home/parth/chapel Thanks, -michael On 3/3/16, 9:28 AM, "Parth Thakkar" <[email protected]> wrote: >I tried building the chapel compiler on my local machine as per the >instructions given >here <http://chapel.cray.com/docs/1.12/usingchapel/building.html>. The >build worked fine, but I discovered later that to use multiple locales, >we've to set CHPL_COMM to gasnet. On doing that, (along with setting >CHPL_TARGET_ARCH=native), the build > fails. The relevant error message is shown below: > > > >make[2]: stat: >/home/parth/chapel/chapel-1.12.0/runtime/src/gen/linux64.gnu.arch-native.l >oc-flat.comm-gasnet.udp.everything.tasks-qthreads.tmr-generic.mem-cstdlib. >atomics-intrinsics.none.gmp.hwloc.re2.wide-struct.fs-none/chpl-env-gen.h: >File name too long >mkdir: cannot create directory >Œ/home/parth/chapel/chapel-1.12.0/runtime/src/gen/linux64.gnu.arch-native. >loc-flat.comm-gasnet.udp.everything.tasks-qthreads.tmr-generic.mem-cstdlib >.atomics-intrinsics.none.gmp.hwloc.re2.wide-struct.fs-none¹: File name >too long >make[2]: *** >[/home/parth/chapel/chapel-1.12.0/runtime/src/gen/linux64.gnu.arch-native. >loc-flat.comm-gasnet.udp.everything.tasks-qthreads.tmr-generic.mem-cstdlib >.atomics-intrinsics.none.gmp.hwloc.re2.wide-struct.fs-none/chpl-env-gen.h] > Error 1 >make[1]: *** [runtime] Error 2 >make: *** [comprt] Error 2 > > > > >I tried changing the installation location but that didn't help - the >pathname was still too long, and I can't reduce it further >(/home/parth/chapel/). What can be done? > > >Regards >Parth Thakkar > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Chapel-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-bugs
