I build a blast local database. However, when I run the blastn command I got this error message: T0 “/home/coremake/release_build/build/PrepareRelease_Linux64-Centos_JSID_01_250088_130.14.22.10_9008__PrepareRelease_Linux64-Centos_1448906370/c++/compilers/unix/../../src/algo/winmask/seq_masker_istat_factory.cpp”, line 170: Error: ncbi::CSeqMaskerIstatFactory::DiscoverStatType() – could not open T0 “/home/coremake/release_build/build/PrepareRelease_Linux64-Centos_JSID_01_250088_130.14.22.10_9008__PrepareRelease_Linux64-Centos_1448906370/c++/compilers/unix/../../src/algo/winmask/seq_masker_istat_factory.cpp”, line 271: Error: ncbi::CSeqMaskerIstatFactory::create() – could not create a unit counts container I am using this command to create the blast local database: And this is my command for executing
Tag: c++
How to forking process in a way such that reaping the child isn’t neccessary
I seem to have a vague memory that some facility in Linux exists that allows one to fork() a process in such a way that the child is automatically reaped by the system without a zombie being created. What is this mechanism? Or is my memory just wrong? Answer The portable way to do this is to double-fork:
C Shell to execute commands
I have the following code: The programme works fine, however when I parse something like “ps -f” it retunrs “execvp echouĂ©”, as the code removes the spaces. What should I exactly do to make it accept comands with options such as ps -f? Answer You should use fgets() instead of scanf(). Because fgets does not delete white spaces from your
I’ve added a MAX7320 i2c output chip. How can I get the kernel to load the driver for it?
I’ve added a MAX7320 i2c expander chip to i2c bus 0 on my ARM Linux board. The chip works correctly from userspace with commands such as /usr/sbin/i2cset -y 0 0x5d 0x02 and /usr/sbin/i2cget -y 0 0x5d. There is a drivers/gpio/gpio-max732x.c file in the kernel source, which is compiled into the kernel that I’m running. (I’ve built it from source.) How
Application is getting killed without any reason. Suspecting high BSS. How to debug it?
I have been running my application successfully in CentOs6.6. Recently, the hardware(motherboard and RAM) was updated and my application is getting killed now without any reason at all. File and ldd output Output of strace GDB While debugging, observed that the bss memory is huge(~6GB). The system has 4GB RAM and I think this could be the reason for the
Why won’t a chunck of this program run in Linux but will on Windows?
So I had to build a tiny little game that asks players to pick a number and see if they guess what the computer picks. It has 2 players and each can pass their turn to the other. One of the stipulations is that my professor is running a linux OS and has said if it doesn’t work on that
Sending payload with sigaction
how can I use sigaction such that a process can send a payload with the signal that can be retrieved by the receiving process? Answer You use a realtime signal (SIGRTMIN+0 to SIGRTMAX-0), so that the signals are queued, and you have a much lesser chance of missing one. (Standard signals are not queued, so if two signals are sent
Visual Studio 2015/Linux extension produces a “collect2 : error : ld returned 1 exit status” with Cygwin
I am currently trying the Linux Extension of Visual Studio 2015. I plan to have several target machines using various distribs. So far, my testing machine is a Windows 7 with an up-to-date Cygwin with all needed packages (openssh, g++, gdb…) installed. The test I’m conducting consists in a very simple C++ “Hello world” file, and the VS projects settings
dlopen fails in chroot
I’m attempting this: I have an environment defined in /chroot/debian6.0/ where I have bound some directories and created other ones. One is libs/ which contains the library libOne.so and its dependencies So: This library has been compiled in the chroot environment, and I want to open it with a process run from the containing environment. This is the code: remote.c
How can I write a I/O bound C program?
I must write programs that are I/O Bound and that will make my I/O scheduler work like never done before for a Operating Systems homework, but I have no idea how to do it. I’ve tried writing a simple C program that counts the lines of big text files, but it executes too fast and I can’t measure the effectiveness