When writing /etc/apt/sources.list out, it gave 'permission denied' error. I simply 'sudo'ed the command and wrote into that file: soheil@soheil-desktop:/media/TOSHIBA$ nano /etc/apt/sources.list soheil@soheil-desktop:/media/TOSHIBA$ soheil@soheil-desktop:/media/TOSHIBA$ sudo nano /etc/apt/sources.list [sudo] password for soheil: soheil@soheil-desktop:/media/TOSHIBA$ apt-get install mpich E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? soheil@soheil-desktop:/media/TOSHIBA$ sudo apt-get install mpich Reading package lists... Done Building dependency tree Reading state information... Done Package mpich is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'mpich' has no installation candidate soheil@soheil-desktop:/media/TOSHIBA$ On Thu, Nov 28, 2013 at 8:44 PM, <[email protected]> wrote:
Send discuss mailing list submissions to [email protected]
To subscribe or unsubscribe via the World Wide Web, visit https://lists.mpich.org/mailman/listinfo/discuss or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at [email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of discuss digest..."
Today's Topics:
1. Re: discuss Digest, Vol 13, Issue 28 (Nicolas Rosner) 2. Re: discuss Digest, Vol 13, Issue 29 (Soheil Hooshdaran)
----------------------------------------------------------------------
Message: 1 Date: Thu, 28 Nov 2013 13:35:08 -0200 From: Nicolas Rosner <[email protected]> To: [email protected] Subject: Re: [mpich-discuss] discuss Digest, Vol 13, Issue 28 Message-ID: <CAMWXxrG4pxjGPGgOtDeSzaACAwGPNMC=QmxQHEy6B6pa2= [email protected]> Content-Type: text/plain; charset=ISO-8859-1
Replace dot with slash. Looks like there is a confusion between "./examples.cpi", which does not exist, and "./examples/cpi", which does.
On Thu, Nov 28, 2013 at 12:30 PM, Soheil Hooshdaran <[email protected]> wrote:
trying ./examples.cpi gave ./examples.cpi: ERROR: cannot open `./examples.cpi' (No such file or directory) but I tried: soheil@soheil-desktop:~/mpich-3.0.4$ file ./examples/cpi and got ./examples/cpi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xd1a3f1258daf9e72be69cbfa210befbe84d03288, not stripped
On Thu, Nov 28, 2013 at 6:16 PM, <[email protected]> wrote:
Send discuss mailing list submissions to [email protected]
To subscribe or unsubscribe via the World Wide Web, visit https://lists.mpich.org/mailman/listinfo/discuss or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at [email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of discuss digest..."
Today's Topics:
1. reading from a read only directory (Geoffrey Irving) 2. ubuntu mpich (Soheil Hooshdaran) 3. Re: ubuntu mpich (Nicolas Rosner) 4. MPI_init very slow with more than 3 nodes (Bixente BODO GOMEZ) 5. Re: discuss Digest, Vol 13, Issue 27 (Soheil Hooshdaran)
----------------------------------------------------------------------
Message: 1 Date: Wed, 27 Nov 2013 21:32:32 -0800 From: Geoffrey Irving <[email protected]> To: [email protected] Subject: [mpich-discuss] reading from a read only directory Message-ID:
<CAJ1ofpd6_bkODsmaf+zoMBsc+hfUu=p0XRd9VKc4U=NVkOhQLA@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1
I got the following error trying to slurp in a large file (slice-17.pentago) with MPI_File_read_ordered:
rank 0: pentago/mpi/io.cpp:read_sections:397:
MPI_File_read_ordered(file,raw.data(),raw.size(),MPI_BYTE,MPI_STATUS_IGNO
ADIOI_CRAY_OPEN(102): Access denied to file all-1/.slice-17.pentago.shfp.670064
The directory all-1 was read only due to paranoia over accidentally deleting expensively obtained data. Looking at ADIOI_Shfp_fname in the mpich source, it looks like this error is intentional: the shared file pointer routines generate temporary files in the same directory as the read-from file. I couldn't find any attempts at recovery if the file cannot be written in that place. This behavior doesn't seem to have changed since the beginning of the git repository.
Is my reading of the code correct: MPI_File_read_ordered can't be used on a file in a read only directory?
I can see the motivation for this in the case of noncollective shared routines: since the other processes aren't necessarily doing any MPI at the moment, the only way to synchronize is through the file system. And because there might be all sorts of different filesystems in operation, the easiest way to ensure that we're touching the right one is use the same directory. I can't imagine any reasonable use of the noncollective shared routines, but maybe that's a different discussion. Is this an unfortunate leak between broken routines which need questionable trickery and perfectly good routines like MPI_File_read_ordered?
Thanks, Geoffrey
------------------------------
Message: 2 Date: Thu, 28 Nov 2013 15:15:54 +0330 From: Soheil Hooshdaran <[email protected]> To: [email protected] Subject: [mpich-discuss] ubuntu mpich Message-ID:
<CAKtsx+_5K6f4=RxU=9Ap6qDu_Te1nBVWYVA-=BZnXmctGF+oOA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Dear sir/madam Hello. I am running Ubuntu 12.0.4 LTS (my computer is dual boot with win XP SP3 and ubuntu). I can swear that I have run the example 'cpi' in the package 'mpich-3.0.4'. but now, see the result of executting
soheil@soheil-desktop:~/mpich-3.0.4$ mpiexec -n 4 ./examples.cpi
[proxy:0:0@soheil-desktop] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file ./examples.cpi (No such file or directory) [proxy:0:0@soheil-desktop] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file ./examples.cpi (No such file or directory) [proxy:0:0@soheil-desktop] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file ./examples.cpi (No such file or directory) [proxy:0:0@soheil-desktop] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file ./examples.cpi (No such file or directory)
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = EXIT CODE: 255 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
soheil@soheil-desktop:~/mpich-3.0.4$
Also, 'whiching' mpicc and mpiexec both return /user/local/bin/mpicc and /user/local/bin/mpiexec, respectively.
I mean I have installed mpich before and sat the PATH variable.
I need mpich on my ubuntu. Please help.