[Wien] Wien and XCrySDen Installation problem: access to root denied!
Laurence Marks
L-marks at northwestern.edu
Thu May 30 16:25:17 CEST 2013
This is not a Wien2k problem, you should be posting to a linux site.
While I tend to install Wien2k in the directory as root, I then do a
chmod and compile as a user. Working as root is dangerous and you have
messed up things "somehow" (not sure how). You probably need to edit
and clean out your root .bashrc file. Do a google search on "default
.bashrc XXX" where XXX is whatever you installed (e.g. Ubuntu) or just
"default .bashrc file" and follow the steps given there.
On Thu, May 30, 2013 at 9:13 AM, Ushma Ahuja <ushma.ahuja at yahoo.com> wrote:
> Dear Wien2k users,
>
> I am trying to install Wien2k_12.1 and xcrysden on a new I7 8-core machine.
> All installations are being done in root.
> I managed to successfully install Wien2k_11.1 in parallel mode (compiler
> Intel Composer XE 2011 10.319, other environment: openmpi-1.4.5, fftw-3.3.3,
> scalapack-2.0.2). After doing a test run for TiC successfully, I proceeded
> with installation of xcrysden.
> After following the configuration steps of xcrysden, I added the line source
> ~/ .bashrc in the bashrc file. After that, I followed the following steps
> (conducted at root prompt of terminal)
> cd xcrysden
> cd XCrysD_src/xcrysden
> make install
>
> I did not notice any change after this and then I entered at the same
> terminal prompt
> source ~/ .bashrc
>
> Now my problem here is that as soon as I pressed enter after this command,
> something went wrong and the terminal prompt disappeared. Slowly all
> processors started getting 100% engaged in 'bash' job (as seen from system
> manager tab). I tried to stop it using ctrl+c at the terminal. Nothing
> happened.
> I could write anything on the terminal but no response was there from the
> system and also I could not see anything else on the terminal except
> whatever I wrote. No jobs could run.
>
> After some time, ctrl+c rendered me a new prompt line at the terminal (bash
> 3.1 ~# instead of root at ocaldomain ~#) and with this prompt line, I could see
> the system response to whatever commands I wrote on the terminal and also I
> could run jobs. However, if I entered any command to change the directory,
> the working directory would change without any change in the prompt line. It
> would always remain bash 3.1~#.
> At this stage, I restarted the computer and then when I tried to log into
> root, the following message appeared in a dialog box:
>
> Your session only lasted less than 10 seconds. If you have not logged out
> yourself, this could mean that there is some installation problem or that
> you may be out of diskspace. Try logging in with one of the failsafe
> sessions to see if you can fix this problem.
>
> with the .xsession-error reading as
> localuser:root being added to access control list. No profile for user
> 'root' found
>
> I was able to login through local user without any problem. Only with root
> this message occurs.
> I tried logging in GNOME and KDE sessions but again I could not log into
> root with them.
> As suggested, I tried logging in with a failsafe session, but the failsafe
> terminal disappears in less than 10 seconds, leaving no time to attempt
> fixing anything.
> I also tried to log into root through the local user's terminal. but the
> login failed again.
>
> I request Wien users to kindly suggest me steps so that I can login as root
> and further assume working on Wien. Also, kindly guide me that after getting
> out of this problem, how I can run Wien jobs in local user (I have done the
> installations in root). What changes do I need to make and where?
> (Please excuse the long mail!)
>
> Thanks,
>
> Ms. Ushma Ahuja
> Faculty of Engineering
> Mohan Lal Sukhadia University
> Udaipur, India
>
>
>
--
Professor Laurence Marks
Department of Materials Science and Engineering
Northwestern University
www.numis.northwestern.edu 1-847-491-3996
"Research is to see what everybody else has seen, and to think what
nobody else has thought"
Albert Szent-Gyorgi
More information about the Wien
mailing list