Programming :: Conduct Parallel Computing On CUDA?

Jul 29, 2011

I came across some problems. I need to conduct parallel computing on CUDA. I input "uname -a"and read these: "Linux BXSJC 2.6.38.8-35.fc15.i686 #1 SMP Wed Jul 6 14:46:26 UTC 2011 i686 i686 i386 GNU/Linux". I use CUDAtoolkit 4.0. when I input: cd /home/bxsjc NVIDIA_GPU_Computing_SDK/C and "make -i ",the computer returns

[Code]...

View 7 Replies


ADVERTISEMENT

Debian :: Dual Boot - Parallel Computing

Oct 11, 2015

I was asked to research if it is possible to install a Debian distribution of Linux to HP Z420 Workstations as second OS (dual boot) in our lab. The lab is normally used for Computer Aided Design (Windows 7). The plan is to have parallel computing possible with these workstations on Linux side.

The link for HP Z420 Specs suggests amd64 distrubition should be supported. Tell me If I'm wrong as I have always been interested in software side of things.

Looking for info regarding installation of Debian to HP Z420 workstations as well as using these computers for parallel computing with Debian.

View 2 Replies View Related

Programming :: Write A Makefile For CUDA/C++ Code?

Jun 19, 2010

I'd like to write a Makefile for my CUDA/C++ code but I didn't know how things work with CUDA, I mean there is a nvcc compiler but I don't know what I've got to do with this.
Do I have to firstly run nvcc and then g++ or only nvcc to compile my CUDA/C++ code ? I found nothing on the web explaining such basic things .

View 1 Replies View Related

Programming :: Pthread - Optimize Computing Function / Loop With Threads?

Sep 4, 2010

I have to compute prime numbers with threads in C. So I choose the algorithm "Sieve of Eratosthenes" and I tried to create 2 threads, but I don't know how to optimize my computing function with threads I beg for help. This is my function:

[Code]...

but it seems like the both of the threads are calculating the same function twice? Is it possible to be optimized or not?

View 7 Replies View Related

Ubuntu :: Reporting Code Of Conduct Violations?

Apr 5, 2010

How do I report a code of conduct violation. I received some spam off of one of my posts.

View 7 Replies View Related

Programming :: Running Mysqldumps In Parallel?

Oct 1, 2010

I have a bash script with a line like this in it:

Code: mysqldump -uusername -ppassword --master-data=2 --single-transaction --quick --add-drop-table --add-drop-database somedatabase | gzip > ./somedatabase.sql.gz The problem is, I have about 16 databases I'm dumping like this, but it's dumping

[Code]....

So, does putting in a & after a command work in a bash script at all? The thought was, if I want to run them in parallel, should I do this?

Code: #!/bin/bash
./scripts/dumpthis &
./scripts/dumpthat &
./scripts/dumpsomemore & Where "dumpthis" is just the first snippet of code above.

View 3 Replies View Related

Programming :: Run Parallel Jobs With Make -j4?

Nov 27, 2010

I use an application called redbutton-browser to access some of the things available on the redbutton digital tv channels. It compiles fine if I use a simple make but fails if I try to run parallel jobs with make -j4. I'd like some help altering the Makefile so that it does a few commands sequentially before it does the rest of the Makefile in parallel.

The relevant bit of the Makefile looks like this:

Code:
ISO13522-MHEG-5.c:xsd2c.c ISO13522-MHEG-5.xsd add_instance_vars.conf add_rtti.conf
make xsd2c
./xsd2c ISO13522-MHEG-5.xsd
./add_instance_vars ISO13522-MHEG-5.c ISO13522-MHEG-5.h
./add_rtti ISO13522-MHEG-5.c > rtti.h

[Code]....

View 7 Replies View Related

Programming :: Parallel Data Transfer Using Sockets

Feb 25, 2011

I am doing a project where 2 clients connect to server and communicate (chat) and transfer data one after other using sockets. I have working code for this in C language. Now our main aim is to create a communication link where two clients transfer multiple streams data parallely. To be more precise i want to transfer images files and audio files parallel at same time, so is it possible to send data parallel using one socket connection?

View 3 Replies View Related

Programming :: Parallel Shell Scripts To Execute Using LAM?

May 29, 2011

i want to know whether we can write a shell script which can utilize 2 CPU's of a cluster...I heard its possible through C Shell [URL] But im familiar with bourne shell only....So is there a possibility to write Parallel Scripts.

View 5 Replies View Related

Programming :: Correct Way Of Spawning Parallel Jobs?

Mar 18, 2010

I need to spawn 2 processes in parallel and each takes an hour or so to finish. Is the following one of the correct ways of using `at` in a script run by crontab?

Code:
#!/bin/bash
# define the env var, cd, etc... assume everything ok up to this point
date +"The start time is %H:%M:%S"
rm -f a.fin
at now <<END_OF_AT
do_a &> a.log

[Code]....

View 2 Replies View Related

Programming :: Using Parallel Port Mode And I/O Pins?

Aug 8, 2010

I have a little hardware project and I would like to use the parallel port. I basically want to display status code on top of other custom peripheral on an headless server. I only use output as the display (7 segment) is not part of the device itself. The problem is, the parallel port only have 8 standard I/O pins. I have read somewhere that there is a way to change the mode of the port to enable more data pins using a specification not backward compatible with the "classic" mode (so not enabled by default). I didn't find any other information about this. As I would like to have all 17 non-ground pin to avoid using more circuitry than necessary, how to turn this mode on?

View 3 Replies View Related

Debian Programming :: Running Programs In Parallel In Bash

Jul 22, 2014

I am trying to replicate what is happening on this page under the tcsh shell, but using the bash shell found in Wheezy. Here is the page I am referring to:[URL] The command I am trying to replicate is on page 6 under figure 2.4. The command is "prompt> ./mem &; ./mem &".

I would like to run the same program twice, concurrently, but do not know how. Note that I am not trying to use a bash script, but rather by simply using syntax on the command line.

View 4 Replies View Related

Programming :: Perl - Multiple Child Processes In Parallel?

Sep 3, 2010

I'm looking for a way in Perl to be able to take a list of servers, ssh multiple commands to it and store the results. If I do this process serially, sometimes one server will hang the whole script and if it doesn't, it still takes hours to complete.

I'm thinking what I need to do is make a parent loop that calls out a separate process that passes the server name to the child sub process and then executes all the commands I have defined in its own process. If one server 'hangs', at least that won't stop the script from doing all the other servers in the list.

I'm guessing using the fork() command would serve me best, however, all the online descriptions I have found have been vague at best.

View 4 Replies View Related

Programming :: Build Hardware Operated Through Parallel Ports?

Oct 15, 2010

Never done it before, don't know how but its due next week. I am a computer systems student and have been required to built a hardware that will be operated by a program in G++ through the parallel ports. The hardware, thats a piece of cake, the software, now that's were the real problem is. I don't even know were to start.

View 2 Replies View Related

Programming :: Running Many Tasks In Parallel / But More Clever Than 'make -j'?

Apr 29, 2011

I have a script which basically does many tasks and most of them can run in parallel. The server it runs on has 4 cores, so I changed parts of it to a makefile, and then run them with "make -j 4" which helps a lot. But looking at "top" while it runs, I see it could be improved. Sometimes tasks wait for other servers, so a higher -j value would help. And sometimes multiple tasks are waiting on the same disk, then I think a lower -j value would be better.

The kernel is fairly good at sharing CPU time among the cores, but resources like memory and disks are not shared very well. As an experiment, I tried compiling the kernel with "make -j" with no number. It didn't go very well.

So I wondered if anybody know of a better tool for things like this. I think it should be possible to write something that could change the -j value while it runs.For example:

- Start as many tasks in the background as there are cores. When tasks finish, start another one until done.
- After a little while, check CPU and memory usage to decide if more tasks could run in parallel. Or maybe less?
- If different tasks iowait a lot, check if they wait on the same disk. If so, renice/ionice/suspend some of them. In these situations I think it's better to have them run one after another.
- Other ideas?

I thought of making a script like that, but I doubt I'm the first one with that problem. Also, there are probably lots of things I haven't thought of.

View 5 Replies View Related

Programming :: C Program - To Make Scripts That Can Talk To Server's Parallel Port

Jun 27, 2010

I need to make some C program under linux to make some scripts that can talk to my Server's Parallel port by sending some quare signal as high or low, so what i can do ?

View 4 Replies View Related

Programming :: Pthread_cond_wait - When Thread1 Invokes The Mutex Lock - No Other Threads Can Access It In Parallel

Mar 2, 2011

If multiple threads operate on a single shared resource, we can lock it using pthread_mutex_lock. Uptill that it is fine, but why again pthread_cond_wait?

int shared=0; // global
.
.
// Thread 1
pthread_mutex_lock(&mutex);
shared=1;
pthread_mutex_unlock(&mutex);

When thread1 invokes the mutex lock, no other threads can access it in parallel. So why again and what for we use, pthread_cond_wait( ).

View 2 Replies View Related

Programming :: Parallel Matrix - Matrix Multiplication Seg-faults?

Apr 13, 2011

I just can't find... why is my code seg-faulting?

PHP Code:
/*
Code name: Assignment #7.
File name: slice.c
Program name: Matrix multiplication (parallel version).
Version: 1.

[Code]...

Is giving my a seg-fault right at the ending point where I do the final gather from the MASTER processor.

View 9 Replies View Related

Fedora :: How To Cluster Computing

Aug 2, 2009

I am bit curious about Cluster Computing. I don't know much about it.Here is Some thing which I wanted to know.1) How can I configure fedora for Cluster computing .2) Is it possible to connect computer of different configuration(like AMD + Intel )? and also for different architecture ( like i386 + x86_64 ) for cluster computing.

View 7 Replies View Related

Fedora X86/64bit :: How To Get Boinc 6.4.5 To Use CUDA

Feb 9, 2009

I've installed the Boinc 6.4.5 x86_64 using F10 update package from Fedora repo. The client runs fine using the CPUs, but doesn't fing the nVidia display processors. I've installed nVidia drivers using Fusion repo packages for F10 ( currently 180.25 ) nVidia display settings seems happy and correctly reports driver 180.25 in place as well as 9600 GSO graphics card and LCD monitor.

My objective is to get Boinc using the CUDA capabilities of my GeForce 9600 GSO graphics card and see some of the performance benefits advertised. Although Boinc client is running it will only use the CPU to do work. I have not been able to discover any flags or configuration settings to help Boinc find CUDA library files. I'm stuck at the limits of my knowledge. The following are the startup messages from Boinc. I'm assuming the fact that it can't find the library causes the inability to see the GPU coprocessor.

[Code]...

View 7 Replies View Related

OpenSUSE :: Ability To Do Cloud Computing?

Dec 5, 2010

I was wondering, being a former Ubuntu user I was able to do cloud computing using Ubuntu One. Is there anything similar in OpenSUSE?

View 9 Replies View Related

Ubuntu :: Show The All Computing Activities On 11.04?

May 4, 2011

how to show all program running (( computing activities )) on ubuntu 11.04 , like mac or this picture [URL]

View 5 Replies View Related

General :: What Is High Performance Computing And Its Uses

Jun 8, 2011

what is High Performance computing and its uses.

what is active active and passive passive cluster ?

View 3 Replies View Related

Debian Hardware :: Any Chance To Get CUDA On NVIDIA GPU?

Feb 5, 2016

In this link is explained why I cannot. [URL] ....

View 0 Replies View Related

Fedora :: Nvidia Cuda Sdk Examples Won't Compile

Sep 13, 2009

I'm tyring to compile the CUDA SDK examples on Fedora 11. Only a few of them compile. The rest fail with messages like:

[code]...

View 6 Replies View Related

Fedora :: Nvidia Cuda 3D Kernel Nightmare?

Aug 14, 2011

I've been trying to get the Nvidia drivers from the nvidia site installed by running-devdriver_4.0_linux_64_270.41.19.run

I have a GeForce 210 PCI Express DDR3 graphics card. I've recently screwed an old version of fedora trying to do this and ended wiping it and installing Fedora 15. I managed to get the standard setup working nice with dual screen support and Tux Kart working smoothly which has never happened before with ATI cards.

The reason i've tried to get an NVIDIA card working is so that i can try to do some development with CUDA. To do this i need to get the proprietary driver working. To get the install program working correctly i've edited the kernel options in grub.conf to stop nouveau driver which seemed to work. The next step i got onto was the need for the kernel source which i've installed. The program can't find this, even with a load of Symbolic links giving-

/usr/src/linux-2.6.40-4
/usr/src/linux
/usr/src/2.6.40-4.fc15.x86_64
/usr/src/linux-2.6.40-4.fc15.x86_64
/usr/src/linux-2.6.40-4
all pointing to-
/usr/src/Kernels/2.6.40-4.fc15.x86_64

After following the steps of dozens of guides, i now cannot run games that need 3d support and i'm no further in getting the proprietary drivers working. Coding in CUDA is a distant dream after weeks of faff in my spare time to go 2 steps back and one forward...

Does anybody know how to do all this? If anybody could help me i'd be very grateful. I've never had decent graphics support in linux. Everytime i've tried it's ended in a horrible mess!

View 14 Replies View Related

OpenSUSE Hardware :: NV CUDA Driver And Kernel 3.0.4?

Sep 4, 2011

I've spent about 3 hours yesterday trying to get my GeForce 210 with CUDA DevDriver running on the 3.0.4 kernel. It was running w/o problems on 2.6.39-desktop (with dev-src for 2.6.37). [yeah, I know I should stick to what works - but I don't like it]

After uninstalling the old drivers I tried several ways for an installation of the new ones:

1. ./devdriver_4.0_linux_64_270.41.19.run on the new kernel (even manually navigating to the kernel-src folder)

2. ./devdriver_4.0_linux_64_270.41.19.run on the old kernel, with new dev-src &c.
3. XFree 280.16 driver on the new kernel with the new dev-src &c.

The results:

3. Works now.

2. did not compile telling me the source files were missing (obviously, as they were for 3.0.4 and not 2.6.39)

1. Aborted the installation with the following (excerpt from nvidia-installer.log)

[Code]...

View 9 Replies View Related

Ubuntu :: Distributed Computing: More Cycles Or More Cores?

Sep 1, 2011

I'm planning on setting up a new Linux box expressly for distributed computing (BOINC, SETI@home, etc.). All things being equal, what's better- More clock cycles or more cores?

View 4 Replies View Related

Fedora :: Get The Nvidia Development Drivers Working - Don't Allow CUDA

Aug 16, 2011

I I have been trying to get the Nvidia development drivers working for a good day or so.

I have the 280 drivers installed, but these don't allow CUDA development.

View 6 Replies View Related

Ubuntu :: Can't Build Cpyrit (cuda Tool For Pyrit)

Dec 14, 2010

here i am just finished installing pyrit with quite alot of hassle and i want to get cuda support via cpyrit. only problem is the compiler pulling blanks all the time and i have no clue on where to find the library it wants.i downloaded cuda and installed it via the script from nvidia.. to default libraries (just hit enter all the way through).. no problems there it seems.after that i ran

Code:

sudo python setup.py build

and got this result:

Code:

svn: '.' is not a working copy
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...

[code]...

is this where do i find my cuda-headers and compiler dirs to put into my setup.py?

cuda was installed into /usr/local/cuda
libs are in /usr/lib/nvidia-current/

EDIT:

Code:

ld -l cuda
ld: cannot find -lcuda

so i have to update ld to find the lib?

EDIT2: so i finally got my head around it and as it turns out it was fixed by creating a symlink in every lib directory i could think of...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved