Mostrando entradas con la etiqueta english. Mostrar todas las entradas
Mostrando entradas con la etiqueta english. Mostrar todas las entradas

Linux - Command mpi not found

Linux systems, such as Ubuntu or Fedora, usually come with a lot of libraries or applications, and OpenMPI is among them.
If you use Ubuntu you probably won't need this because it includes the openmpi binaries folder in the environment variable 'PATH'.

How I know if I it's included or not?


It's quite simple, open a terminal and run:
mpicc
or mpirun or any other mpi command.
If you obtain the message " ... : Command not found... " you have to add it to PATH.

How can I add it?

First open a terminal ( or use the one you opened before ) and run:
find /usr -name "mpirun"
Here we are looking for the executable "mpirun" which we know it's part of the library. I obtain the following output:
/usr/lib64/openmpi/bin/mpirun
Normally it is always under '/usr/lib64/openmpi/bin' if your system is 64bits or only "lib" if not.
Now you only have to add it:
export PATH=$PATH:/usr/lib64/openmpi/bin/
If you use the export command you have to use it for every terminal you open / restart. If you don't want to do this only add it to your ".bashrc" file.

Open a terminal and run:
cd ~
gedit .bashrc
Use gedit or other text editor you like.

And at the end of the file add the previous export command:

New Blogger's Templates (I)


The new templates are really interesting: they are basic, few colors, the configuration makes the blog more serious than before and they're adapted to all needs.

I like it a lot and I put it in no time at all when I discovered it.

The configuration that I have chosen is the "Sidebar", which shows on the left some entries in a menu. When you click on one entry, you can read completly.
Below it is showed the date, who wrote it, the Twitter, Facebook, and Google+ buttons for share it with everyone in a easy way and then the number of comments.

They could add an option to put small buttons for linking your blog with yourtwitter, youtube, etc. in the top of the blog.
If not, I would search a solution.

Four channel mixer || Introduction (Part I)

My current project is a four channels audio mixer.

Why? Quite simply, I want to have three or four imputs (headphones, ps3, pc...) and only one headphones output.

After a few days reading on internet, I found a circuit but ir was incomplete. We could get it (not bad).

One day we went to buy the components and asked if they had some kit. They told us that they cuold have an quite basic kit. Also we bought a simple amplifier.



However, the shop assistant asked us about the proyect, and he told us that we would need more components, a box, screws, cable...

After almost two hours in the shop, we got home.

When we got home, we thought: "And now, where do we start by?"

The first step is the design de the box, it is, where we are going to put every component.

We didn't know what expecte us: impedances, failures, potentiometers....

News || Now also in english

Welcome everyone!
This is my blog, the blog where I used to write....
It was only in spanish but now I want to write it in two languages, spanish and english because many people who likes this kind of knowledge read this blog if it'd be in english. Maybe they speak a little spanish but it's easier in english.

Sorry if I don't write well something, always you'll be able to add a comment.

I hope you like my blog and that you read it at least once a week.

You can follow me on twitter here: https://twitter.com/#!/Pirobtumen

Thanks!(: