Programming :: Unable To Use The "-s" Option For Lam Mpi Which Is Used For Loading The Program

Feb 22, 2011

I am using Lam mpi. The problem I am facing is that, I am not able to use the "-s" option for lam mpi which is used for loading the program from a particular node and then using the nodes in the cluster to execute the program.

Now I have to copy instance of the executable to every node for the program to run in the cluster. Is there anyway to load the program from a particular node and then use the cluster nodes in its execution without manually copying the executable to each and every node in the cluster

View 3 Replies


ADVERTISEMENT

Programming :: Call_usermodehelper - Loading A Simple C++ Program Like Hello World With Driver

Dec 13, 2010

all i want is loading a simple c++ program like hello world with this driver. everything works fine except it doesnt start the program. because ret returns with 0 i think the program works fine but I think i messed up something about how to start the c++ program. i used this example for my program but it doesent work too.

[URL]

is there anybody out there who can give me a hint what i messed up? i use ubuntu with 2.6.32 Kernel.

[Code]....

View 1 Replies View Related

Programming :: Unable To Use Sleep() In Plugin Functions In Multithread Program?

Oct 11, 2009

I wrote a multithread program(c++,gnu gcc). it contains a main program and plugins. some functions in plugins use sleep(). Using these functions in threads cause freezing program. in other word thread sleeps but dosn't wake. How can i use sleep() in my plugin functions without this problem?

View 3 Replies View Related

Ubuntu :: Prevent A Program Loading On Startup?

Feb 24, 2011

How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.

View 2 Replies View Related

Ubuntu :: Modify Right Click Option Of Any Program?

Jan 24, 2010

How can i change the option appear when right click any program

i mean like open,properties!!! and add new one ..

i want to make video so when i right click any program ,option show ex.called video so when click on it the video appear ..

View 3 Replies View Related

General :: Program Compiled With G++ -L Option Uses Library From /usr/lib?

Jun 28, 2011

I was unable to compile a program that used libicu42 on Ubuntu 11.04, because Ubuntu 11.04 has only libicu44 and does not have libicu42 installed. So during compile time I used g++ prog.c -L mylib/ to compile the program. mylib had libicu42 (This library is a shared library and has the .so extension). The program compiled successfully, but when I tried to run it, it failed and complained that it did not find libicu42. So I had to manually install libicu42 in /usr/lib. Then the program worked.'ldd prog' revealed that it looked for libicu42 in /usr/libWhat was the point of specifying the library path using -L, if the compiled program looked for the library in /usr/lib? It's almost like it was just to satisfy the compiler.

View 3 Replies View Related

Programming :: Program A SH - Bash Program With Zenity To Play Radio Based On A Site?

Feb 15, 2011

I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html

My code to get url's radio country.htm is:

Code:

View 2 Replies View Related

Debian :: How To Get Rid Of Option To Remove Uni-booting Even Though Uninstalled Program

Sep 4, 2015

So I had decided to install debian but I thought I couls do it by myself without anything which I was wrong about, because I wound up installing Debian on my C: drive/windows partition. So far nothing has been bad and I am still running windows but now my C: drive has been renamed to "Install Debian GNU/Linux" I know the name doesn't mean shit but I'm curious why every time I go to change it it auto changes back. Also now every time it boots up it asks me to choose between UNetbootin, which i uninstalled, and windows. how do i get rid of the option to remove unetbootin even though I uninstalled the program. Same with Debian I deleted everything i could find but it still changes the drive name, how to fix any of this and might there be files I haven't found where would they be located?

View 3 Replies View Related

General :: Compiling 32 Bit Sample Program On 64 Bit Fedora Using - M32 Option

Oct 7, 2009

I have Fedoara 11 install on my PC. I want to compile program as 32 by g++ option -m32. I have 32 bit library install on my machine which present in path

When i compile my sample program with -c & -m32 option it compile correctly

Then it gives linking error as:

View 2 Replies View Related

Fedora Installation :: Program Freezes After Loading Components / Mounting Partitions

Dec 29, 2009

I am trying to install Fedora 12 x64 on my 27" iMac 10,1. I have tried both the installation dvd and the gnome live cd (both x64 i did not try the x86). On the installation dvd I get as far as the menu giving me the boot/install options - I have tried to install both with a basic video driver and the regular install/upgrade option - both times it begins loading components for the installer program (/sbin/loader) etc. After it loads sbin/loader and mounts the partitions it freezes with half the screen being the terminal txt beforehand and the other half being just a standard fedora logo w/blue background. It is not much different when I try the live-cd the only different is it does the exact same thing when the timer for automatic login is done. Any possible command line arguments that I could use to stop the graphical corruption?

View 2 Replies View Related

Ubuntu Installation :: Program Doesn't Want To 'offer' Dual-Boot Option On Main HDD

Sep 9, 2010

Problem is that Ubuntu installation program doesn't want to "offer" Dual-Boot option on my main HDD. Only format option and manual partitioning.

View 1 Replies View Related

General :: Dos Option - Format Hard Drives - Load Out Side Of A Windows Program

Mar 25, 2011

what are all the options dos- ect! to format a HD. for the Linux platform is there not a way to load Linux out side of a Windows program .

View 7 Replies View Related

Programming :: Open Or Run A File/program Through A C++ Program

Jan 15, 2010

Ok so Basically i have 2 questions

1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux

Code:

2. i need to know how to run/execute/open a file in a c++ program im using and its not working

Code:

View 4 Replies View Related

Ubuntu Installation :: Freezing At The BIOS Loading Screen Right After The "Intel (R) Matrix Storage Manager Option ROM V6.0.0.1022 ICH8R" Part?

Mar 28, 2011

I ran Ubuntu desktop for a while then installed Ubuntu Server 10.4. I restarted the machine after install and now I am freezing at the BIOS loading screen right after the "Intel (R) Matrix Storage Manager option ROM v6.0.0.1022 ICH8R" part.Have tried: taking all USB devices, cd's, etc, out.Edit: ATA AHCI BIOS, Version iSrc 1.02.23 11212006Am installing on a Dell Dimension E520

View 1 Replies View Related

General :: Unable To Wireless After Loading 10.4 / Work Around It?

Mar 21, 2011

I've tried another forum to get help but I'm still unable to wireless to work on this laptop.

View 4 Replies View Related

Fedora :: Booting - Error "EXT4-fs(sda): Error Loading Journal Mount: Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda8"

Feb 4, 2010

I have installed both Windows Xp and Fedora 12. Last time when i was working on Fedora it didn't shut down properly. Now following error occurs and finally the system sleeps.

ata1.00 : exception Emask 0x0 Sact 0x0 SErr 0x0 action 0x0
ata1.00 : BMDMA stat 0x25
ata1.00 : cmd c8/00:00:50:5a:34/00:00:00:00:00/e4 tag 0 dma 131072 1n
res 51/40:7f:d1:5a:34//00:00:00:00:00/e4 Emask 0x9 (media error)
ata1.00 : status : { DRDY ERR }
ata1.00 : err : { UNC }
end_request: I/O error, dev sda, sector 70539985 JBD : Failed to read block at offset 5884 EXT4-fs(sda): error loading journal mount: wrong fs type, bad option, bad superblock on /dev/sda8, codepage or helper program, or other error In some case useful info is found in syslog-ty dmesg | tail or so

View 1 Replies View Related

Ubuntu :: Unable To Enable Firefox Option

Dec 30, 2010

In firefox, I try to check the box in Edit → Preferences → Advanced → General which says 'submit crash report', but everytime I close this and open it again it remains unchecked. Why is that so?

View 4 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Programming :: Sed.exe Unknown Option To 's'?

Feb 21, 2011

I'm running sed in WinXP on a text file using a script file. Every time I run it I get an unknown option to 's' error:C:Program FilesGnuWin32in>sed -f jagerize.sh input.txt>output.txtsed: file jagerize.sh line 22: unknown option to 's' I've tried two different implementations of sed, with the same result. Deleting the offending line in the script file still produces the same result (as the next line has the same syntax). I'm guessing the problem has something to do with WindowsXP, but I'm a complete newbie with sed and Linux.Here is the script file I am using:

#!/bin/sh
#
# Jagerizer 1.2

[code]...

View 1 Replies View Related

Programming :: Loading A Php Module Using Custom Ini?

Sep 9, 2010

I have a webhosting account, but the server admin did not include mysqli module. How can I use mysqli in this situation?

I am thinking,

put mysqli module in my web directory

load it using custom php ini

View 1 Replies View Related

Programming :: Dynamically Loading Libraries In GNU?

Oct 22, 2010

This post isn't really asking for a tutorial, but rather asking for some ideas. I've come up with a few ideas, but they seem cumbersome and unnecessary, so I was wondering if someone with more experience than me could out. Also, my explanations suck, but I'll try to do my best. So say I have an executable called X. At some point during its execution, X loads and uses (using dlopen and dlsym) a library called Y. In Y, there a bunch of functions that call the function called, for example, void *special_malloc (size_t). These functions come from another linked library (linked during compilation) called Z. Problem is, special_malloc contains some static variables within its scope, and when those variables are reset midway through a program, an invalid free occurs (special_malloc uses garbage collection). Now, what I want to happen is that whenever lib Z calls special_malloc, it instead calls the special_malloc defined in the executable X, so that these static variables are retained. Keep in mind that I have control of the Z library, meaning I can edit the source to fit my needs.

View 2 Replies View Related

Ubuntu :: Unable To Use The Sleep/Hibernation Option Correctly With 10.04?

May 2, 2010

Have been using Ubuntu 9.10 since past 2 months and had similar power and screen saver options as I do now after upgrading to 10.04. ( "sleep" after 1 h, "lock screen" after 10 min, "hibernate" when "close lid" on a Dell 600m laptop)

With Karmic, Never had issues with closing the lid while the laptop was sleeping. Three times in a row noticed that if the lid is closed while laptop is in sleep mode, opening the lid results in a blank screen, HDD and CD drive spins, fan turns on. No response to keyboard and/or mouse. Pressing the power key: no response.

The only solution is to shut-down by holding the power key down for a few seconds and reboot. Cant imagine why there would be a problem, but wondering if there are others who also see the same thing and if there is fix to this. Right now, have disabled sleep and will see if problem shows up.

View 9 Replies View Related

Programming :: Usually Make Multiple Dir Using -p Option?

Apr 21, 2010

(i) I usually make multiple dir using -p optionex: mkdir -p dicttest/audrep/tdriver/testNow after creating this dir's i stay in current dir instead i want to go directly to test dir how can i acheive this.(ii) When i execute which command as followswhich testerm i will get the location of testterm now i want to open this filewhen i did in this wayhich testterm | vi The file dosent get opened how can i acheive this ?ex:

linuxx86:110$ which testterm
/view/rdl110_linuxx86/vobs_usrrdl/sc/testterm
linuxx86:110$ which testterm| vi

[code]....

View 3 Replies View Related

Programming :: Gcc Error With -mtune Option

Apr 7, 2010

I am trying to compile a hello world program to run on a powerpc processor. I used GCC 4.4.1 from Ubuntu 9.10 on a X86 (PC) platform.

Which value should I use to indicate powerpc architecture?

View 3 Replies View Related

Programming :: JApplet Class Not Loading / Resolve This?

Jan 5, 2011

I have a JApplet class I have copied to both a windows and a linux server. When I open up a webpage with the applet in it in my browser from both servers (http://server1/....) I can only get it to work from the Windows server. The Java console on my PC pops up complaining it cannot find the class file on the Linux server. Has anyone experienced anything like this before and how have you solved the problem?

View 1 Replies View Related

OpenSUSE Install :: Unable To Boot After Online Update Option?

Dec 17, 2010

I've installed opensuse 11.3 on my computer (well actually Ive done it twice, once with full DVD image and once with network install). Everything was OK until Ive made update (yast/software/online update <-- BTW kupdate applet isn't working, just update bar appear and stuck on 0%). i haven't installed any additional packages, only the defaults (KDE desktop). after update only fail safe option is working (booting normally and looks like normal desktop, no visual differences between normal and fail safe booting, if there should been any). When I've tried to find solution for this problem, very ofter answers were -> graphic drivers problem (im using ati hd 4670 AGP <-- yea, AGP . well when i start normal boot green screen with lizard logo appear, then screen goes black for a second or two, then the green screen come again, and after another few second screen goes black permanently with working hdd for 30-40 second (hdd led blinking) BTW i have windows7 pro (booting fine) on this machine too, it was installed as first system on hd0,0. opensuse was installed on stand alone PATA disk (secondary EIDE master, ODD on slave). how to gather info which u all need to get this problem more detailed. PS> sorry for my English, its not my native language.

View 7 Replies View Related

Ubuntu :: Unable To Use FS-cache In PXE-booted Environment - Nfsmount: Bad Option 'fsc'

Jan 28, 2011

I've installed a diskless Ubuntu system with the latest 64-bit Maverick kernel, by following the instructions found here:

[URL]

However, the clients are not diskless and I want to take advantage of this by using a local cache of the nfs-mounted filesystem. I'm using fs-cache and the cachefilesd package for this purpose. Of course I want to cache the whole root file system and in order for that to work, the filesystem must be mounted with the "fsc" mount option.

Hence, in my fstab I have the following entry:

Code:
/dev/nfs/ nfsfsc1 1

However, I can easily verify that the fsc mount option is not being used when mounting the root system:

Code:

# cat /proc/fs/nfsfs/volumes
NV SERVER PORT DEV FSID FSC
v3 81102339 801 0:17 562aac732e56f8ac no

If I mount an nfs share manually after booting then it will use the fsc flag without any problems. However, I'd rather not try to remount the root file system, even if that might work.I also learned that there's a special kernel option called "rootflags" that specifies the mount options for the root file system, so I tested modifying the kernel boot parameters as follows:

Code:

append root=/dev/nfs rootflags=fsc initrd=ubuntu-boot/initrd.img-2.6.35-24-generic nfsroot=11.22.33.44:/data/nfsroot ip=dhcp rw

However, the root file system is still mounted without the fsc option.What do I need to do to enable the fsc mount option so that fs-cache will work?

Update: According to the manpage for initramfs-tools, you should be able to specify the NFS mount options as a kernel parameter using NFSSERVER:NFSPATH:NFSOPTS, but I suspect this is not correct -- when I test it only works if I use the format NFSSERVER:NFSPATH,NFSOPTS. Perhaps the manpage needs to be updated?

The following manpage for NFS does not list fsc as one of the options [URL], the following does:[URL] this because it's two different versions? When I try to use the fsc option, I get the following error:

Code:

nfsmount: bad option 'fsc'

View 2 Replies View Related

Red Hat / Fedora :: Ffmpeg-php And Gd Module Loading / Unable To Load Dynamic Library?

Jan 19, 2010

fedora 12 with php 5.3.1 + apache is installed on the server

I needed a FFMPEG + MENCODER + FFMPEG-PHP setup , so I have installed all of the necessary libraries/codecs along with ffmpeg , mencoder and ffmpeg-php

I've added ffmpeg-php (ffmpeg.so) module to php.ini and restarted httpd

But ffmpeg was not showing up in phpinfo() so I grepped : php -i | grep ffmpeg
for some clues and got this warning
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0

That error explains why ffmpeg is not loading

Obviously something to do with GD library , so I've researched on the net , and found that some users suggest loading the GD module before FFMPEG module.

I gave it a try and added this at the end of php.ini:
Code: [gd]
;loading gd
extension=gd.so
[ffmpeg]
;loading ffmpeg
extension=ffmpeg.so ...but still same error when greping phpinfo()

View 1 Replies View Related

Programming :: [bash] Option Followed By Argument List?

Feb 6, 2010

I'd like to pass the following arguments to a bash script in any order:

Code:
myscript -l <country> -r <file1> <file2> ... -o

I read the argument list in a switch shift loop. I figured out how to read the filelist but only if -f is the last option.

how to position the file list anywhere in the argument list?

View 5 Replies View Related

Programming :: Setting ACL As Mount Option Using Awk And Sed Script

Apr 24, 2010

I am creating a script for making a public folder in linux. The idea behind is to allow any user to write files in this folder and further each of those files can be used by any user. For this purpose I am using acl. This first requires to set acl as mount option in /etc/fstab which I need to do with help of (awk and sed) command available in linux.

The line below is the fstab entry which I need to make change in.
UUID=e9a3db4b-d8c0-40b4-a661-131e13afea1e
/ext3 relatime,errors=remount-ro 0 1

I want my script to identify this line (most probably with / which denotes the mountpoint) and then add (acl,) without brackets in options. Currently I use the command as below
sed 's/realtime/acl,relatime/' /etc/fstab
but the above command is in reference with (realtime) what I am planning is that my script should be able to find the line which has / and then go to options and add acl there.

View 3 Replies View Related







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