<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:70.85pt 56.7pt 70.85pt 56.7pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">My error occurs right away, I don’t even get these INFO messages… This is the full content of the training.*.err file:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Loading application python-3.5.3 environment with needed modules</p>
<p class="x_MsoNormal">THCudaCheck FAIL file=/pytorch/torch/csrc/cuda/Module.cpp line=34 error=35 : CUDA driver version is insufficient for CUDA runtime version</p>
<p class="x_MsoNormal">Traceback (most recent call last):</p>
<p class="x_MsoNormal">  File "/proj/nlpl/software/opennmt-py/0.2.1/scripts/train.py", line 40, in <module></p>
<p class="x_MsoNormal">    main(opt)</p>
<p class="x_MsoNormal">  File "/proj/nlpl/software/opennmt-py/0.2.1/scripts/train.py", line 27, in main</p>
<p class="x_MsoNormal">    single_main(opt)</p>
<p class="x_MsoNormal">  File "/proj/nlpl/software/opennmt-py/0.2.1/lib/python3.5/site-packages/OpenNMT_py-0.2.1-py3.5.egg/onmt/train_single.py", line 73, in main</p>
<p class="x_MsoNormal">    opt = training_opt_postprocessing(opt)</p>
<p class="x_MsoNormal">  File "/proj/nlpl/software/opennmt-py/0.2.1/lib/python3.5/site-packages/OpenNMT_py-0.2.1-py3.5.egg/onmt/train_single.py", line 60, in training_opt_postprocessing</p>
<p class="x_MsoNormal">    torch.cuda.set_device(opt.device_id)</p>
<p class="x_MsoNormal">  File "/proj/nlpl/software/opennmt-py/0.2.1/lib/python3.5/site-packages/torch/cuda/__init__.py", line 264, in set_device</p>
<p class="x_MsoNormal">    torch._C._cuda_setDevice(device)</p>
<p class="x_MsoNormal">RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at /pytorch/torch/csrc/cuda/Module.cpp:34</p>
<p class="x_MsoNormal">Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7ff93231b400></p>
<p class="x_MsoNormal">Traceback (most recent call last):</p>
<p class="x_MsoNormal">  File "/wrk/project_nlpl/software/opennmt-py/0.2.1/lib/python3.5/weakref.py", line 117, in remove</p>
<p class="x_MsoNormal">TypeError: 'NoneType' object is not callable</p>
<p class="x_MsoNormal">srun: error: g110: task 0: Exited with exit code 1</p>
<p class="x_MsoNormal">srun: Terminating job step 33310480.0</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Stephan Oepen <oe@ifi.uio.no><br>
<b>Sent:</b> Tuesday, December 18, 2018 2:56:49 PM<br>
<b>To:</b> Martin Matthiesen<br>
<b>Cc:</b> Scherrer, Yves; infrastructure<br>
<b>Subject:</b> Re: [NLPL Task Force (A)] OpenNMT installation for NLPL (on Abel)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">thanks for adjusting those permissions, yves!<br>
<br>
roughle how long into the job would you expect the error to occur?<br>
<br>
i have been running for around six minutes so far, and training<br>
appears to get going:<br>
<br>
2018-12-18 14:47:43,683 INFO] encoder: 14116000<br>
[2018-12-18 14:47:43,683 INFO] decoder: 25862084<br>
[2018-12-18 14:47:43,683 INFO] * number of parameters: 39978084<br>
/proj/nlpl/software/opennmt-py/0.2.1/lib/python3.5/site-packages/torch/nn/_reduction.py:49:<br>
UserWarning: size_average and reduce args will be deprecated, please<br>
use reduction='sum' instead.<br>
  warnings.warn(warning.format(ret))<br>
[2018-12-18 14:47:43,685 INFO] Start training...<br>
[2018-12-18 14:47:43,707 INFO] Loading train dataset from<br>
data.train.1.pt, number of examples: 1030<br>
/proj/nlpl/software/opennmt-py/0.2.1/lib/python3.5/site-packages/torch/nn/functional.py:1320:<br>
UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.<br>
  warnings.warn("nn.functional.tanh is deprecated. Use torch.tanh instead.")<br>
[2018-12-18 14:49:15,649 INFO] Loading train dataset from<br>
data.train.10.pt, number of examples: 1162<br>
[2018-12-18 14:50:55,474 INFO] Loading train dataset from<br>
data.train.100.pt, number of examples: 1199<br>
[2018-12-18 14:52:13,191 INFO] Step 50/100000; acc:   5.83; ppl:<br>
5884.51; xent: 8.68; lr: 1.00000; 272/262 tok/s;    269 sec<br>
[2018-12-18 14:52:38,496 INFO] Loading train dataset from<br>
data.train.1000.pt, number of examples: 1216<br>
<br>
but earlier you had sent a traceback involving a function called<br>
training_opt_postprocessing() ... so maybe the error ony occurs<br>
towards the end of training?  which would seem pretty weird, seeing as<br>
i suppose PyTorch has been used extensively up to that point already?<br>
<br>
oe<br>
<br>
<br>
<br>
On Tue, Dec 18, 2018 at 10:11 AM Martin Matthiesen<br>
<martin.matthiesen@csc.fi> wrote:<br>
><br>
> Hi,<br>
><br>
> I did try for an hour and a bit yesterday to pinpoint the problem, but could not make head or tail of it. Did I understand correctly that Stephan, you got this working on Taito?<br>
><br>
> Martin<br>
><br>
> P.S.: Should we keep infrastructure out of this or is this interesting to Jörg and Björn?<br>
><br>
> --<br>
> Martin Matthiesen<br>
> CSC - Tieteen tietotekniikan keskus<br>
> CSC - IT Center for Science<br>
> PL 405, 02101 Espoo, Finland<br>
> +358 9 457 2376, martin.matthiesen@csc.fi<br>
> Public key : <a href="https://pgp.mit.edu/pks/lookup?op=get&search=0x74B12876FD890704">
https://pgp.mit.edu/pks/lookup?op=get&search=0x74B12876FD890704</a><br>
> Fingerprint: AA25 6F56 5C9A 8B42 009F  BA70 74B1 2876 FD89 0704<br>
><br>
> ________________________________<br>
><br>
> From: "Yves Scherrer" <yves.scherrer@helsinki.fi><br>
> To: "Stephan Oepen" <oe@ifi.uio.no><br>
> Cc: "Martin Matthiesen" <martin.matthiesen@csc.fi>, "infrastructure" <infrastructure@nlpl.eu><br>
> Sent: Tuesday, 18 December, 2018 10:35:25<br>
> Subject: RE: [NLPL Task Force (A)] OpenNMT installation for NLPL (on Abel)<br>
><br>
> Hi,<br>
><br>
><br>
><br>
> > could you make the complete data directory group- or world-readable,<br>
> > so i can try running the ‘train.py’ script without creating my own<br>
> > copy of the data?<br>
><br>
><br>
><br>
> That should work now.<br>
><br>
><br>
><br>
> > thinking (possbily over-)optimistically, maybe the problem has<br>
> > magically disappeared already?<br>
><br>
><br>
><br>
> Unfortunately, it hasn’t. Or was I supposed to reinstall the OpenNMT-py module locally?<br>
><br>
><br>
><br>
> Yves<br>
><br>
><br>
><br>
><br>
</div>
</span></font>
</body>
</html>