[Users] Error on Ubuntu subsystem
Roland Haas
rhaas at illinois.edu
Fri May 11 07:14:33 CDT 2018
Hello Zekun,
you should not have to change the code.
Can you check please if the commad "lscpu" exists and if it does please
let me know what its ouptut is by executing:
lscpu >/mnt/c/Users/*/Desktop/lscpu.out
and including the file lscpu.out (which should be on your Windows
Desktop) in the email? Please do redirect output rather than copy and
paste the console output since there may possibly be an issue with
whitespace at the end of lines that is causing the problem you are
seeing.
If it does not exist then you can install it by executing:
sudo apt-get install util-linux
Yours,
Roland
> Hello Roland Haas,
>
>
> Thank your for your advice and I have solve a problem. I reviewed the GetComponents' output and found the missing files. The files you mentioned had been download successfully. However, there is another problem during:
>
>
> ./simfactory/bin/sim setup-silent
>
>
> And the error information is:
>
>
> File "/home/xu/Cactus/repos/simfactory2/lib/simdt.py", line 471, in macro_CREATE_MACHINE
> cpu_info[l[0]] = l[1].strip('.\n').strip('kB')
> IndexError: list index out of range
>
>
> Should I change the code?
> Thank you very much.
>
>
> Yours,
> Zekun
> ------------------ Original ------------------
> From: "Roland Haas"<rhaas at illinois.edu>;
> Date: Thu, May 10, 2018 09:43 PM
> To: "徐泽坤"<xuzk at mail2.sysu.edu.cn>;
> Cc: "users"<users at einsteintoolkit.org>;
> Subject: Re: [Users] Error on Ubuntu subsystem
>
>
> Hello Zekun Xu,
>
> One issue that I did not quit think about.
>
> To find out where the files are located (eg to attach them using your
> regular Windows email client), please have a look at:
>
> https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/
>
> Alternatively you can copy files to a location more easily found by
> copying them to a place in /mnt/c/Users/<YourWindowsUserName>/Desktop
> which is the Windows 10 Desktop directory.
>
> As a side note: you seem to be running as the "root" user in the Ubuntu
> bash subsystem. This is unusual as (at least for me) I am dropped into
> a Linux account that has the same name as my Windows account (ie rhaas
> in my case). Usually it is best not to run as the "root" user unless
> you need to install software.
>
> Yours,
> Roland
>
> > Hello Zekun Xu,
> >
> > it is missing one of the files
> >
> > arrangements/ExternalLibraries/OpenSSL/interface.ccl
> > arrangements/ExternalLibraries/OpenSSL/params.ccl
> > arrangements/ExternalLibraries/OpenSSL/schedule.ccl
> >
> > This usually means that there was an error when you tried to download
> > the Eisntein Toolkit with GetComponents.
> >
> > Can you check which files are present in the directory
> > arrangements/ExternalLibraries/OpenSSL, please? To do so, please provide the output of "ls -a arrangements/ExternalLibraries/OpenSSL/" (which includes all "hidden" files in the output)
> >
> > Also please check that you have a working copy of subversion installed
> > ("sudo apt-get install subversion" installs it) by doing:
> >
> > svn info https://svn.cactuscode.org/projects/ExternalLibraries/OpenSSL
> >
> > and providing the output.
> >
> > Just in case, please make sure you have installed all the packages
> > listed on:
> >
> > https://nbviewer.jupyter.org/github/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb
> >
> > Finally, you can try and see if downloading the code once more fixes
> > the issue.
> >
> > To do so, please first remove your existing copy of the Einstein
> > Toolkit:
> >
> > rm -r Cactus/
> >
> > and then download it once more, this time saving GetComponents' output
> > in files:
> >
> > ./GetComponents --parallel https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2018_02/einsteintoolkit.th 2>GetComponents-parallel.err >GetComponents-parallel.out
> >
> > which creates a file GetComponents-parallel.err with all error output
> > and GetComponents-parallel.out with regular output in the same
> > directory GetComponents is in. Please include those two files in case
> > things still do not work even with the fresh copy.
> >
> > You can also (and I do recommend trying this) see if
> >
> > ./GetComponents https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2018_02/einsteintoolkit.th 2>GetComponents-serial.err >GetComponents-serial.out
> >
> > lets you download a copy of the Einstein Toolkit that works. In here I
> > have removed the --parallel option so that GetComponents will download
> > everything serially rather than attempting to download multiple
> > components in parallel. Please also include the files
> > GetComponents-serial.out and GetComponents-serial.err in your email.
> >
> > Yours,
> > Roland
> >
> > > Hello all,
> > >
> > >
> > > I'm using the Ubuntu subsystem of Win10 and something is wrong during the step:
> > > ./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist ../einsteintoolkit.th
> > > The error is showed in the picture:
> > >
> > > I'm a beginner of Ubuntu, so I will appreciate it if make your advice simple.
> > >
> > >
> > > Thanks in advance.
> > > -Zekun Xu
> >
> >
>
>
>
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20180511/f226fb3a/attachment.bin
More information about the Users
mailing list