Skip to content

error compile olb1.2 under ubuntu 18.04 (work with 16.04)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB Bug Reports error compile olb1.2 under ubuntu 18.04 (work with 16.04)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6120
    LaurentDelaon
    Participant

    Hi everybody,

    on olb1.2 under ubuntu_18.04 GnuPlotHeatMapWriter.hh not working (work with 16.04)
    (seem maybe having same pb with olb1.4 but not tested)
    with following error :
    "./tmp/imageData/data/heatMapl2physVelocity.p", line 5: unexpected or unrecognized token
    modify code like this will made woking:

    
      fout << "if (strstrt(GPVAL_TERMINALS, 'jpeg') > 0) {"<< "\n"<<; // modify here
      fout << "set terminal jpeg " << "size " << 1920  << "," << 1080 << "font \",25\"" << "\n";
      fout << "set output '"<< param.jpegPath << "'"<< "\n"; // modify here
      fout << "} else {" <<< "\n"; // modify here
      fout << "set terminal png " << "size " << 1920  << "," << 1080 << "font \",25\"" << "\n";
      fout << "set output '"<< param.pngPath << "'"<< "\n";
      fout << "}" << "\n";// modify here

    regard
    Laurent.

    #6131
    Adrian
    Keymaster

    Thanks for letting us know!

    Unfortunately we also frequently encounter version-related issues with the gnuplot interface. In general for any serious post processing I would recommend to use ParaView.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.