Compilation error metabat2 in ubuntu 14.04

Issue #32 resolved
hansm@nioz created an issue

Scons is only creating a metabat executable and not the metabat2. The build is terminating with the following error : src/metabat2.cpp: In function ‘int main(int, char)’: src/metabat2.cpp:382:50: error: expected ‘#pragma omp’ clause before ‘proc_bind’ #pragma omp parallel for num_threads(numThreads) proc_bind(spread) schedule(dynamic) ^ src/metabat2.cpp: In function ‘void gen_tnf_graph(Graph&, Similarity)’: src/metabat2.cpp:1040:47: error: expected ‘#pragma omp’ clause before ‘proc_bind’ scons: * [src/metabat2.o] Error 1 scons: building terminated because of errors.

Comments (5)

  1. hansm@nioz reporter

    Thx Don, much better with 5.4.1, metabat2 has been created. But no successful run until yet due to segmentation faults.

  2. Don Kang

    What was your command line? Paste the log message with --verbose option here. Alternatively, you can send your data that I can take a look where the issue happened. Here is the info:

    Upload Server: upload.nersc.gov

    To upload data using ftp on the command line type:

    ftp upload.nersc.gov

    Enter the user name and password when prompted.

    Please see http://www.cs.colostate.edu/helpdocs/ftp.html for a list of ftp commands.

    You can also use an FTP client like Filezilla (https://filezilla-project.org/) if you prefer GUI based tools.

  3. hansm@nioz reporter

    Now it is running correct. I checked the bam file which wasn't sorted. Thanks for your quick response.

  4. Log in to comment