Skip to content
Advertisement

Tag: c++

blast could not create a unit counts container

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

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

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

Advertisement