Unable to compile vapor

17 posts / 0 new
Last post
winash12_660754
Unable to compile vapor
Hello, I am trying to install VAPOR on Ubuntu 14.04 and I am trying to build from source with Intel icc compiler and icpc. I am getting a compiler error cannot find source file qstring.h. I did install the qt library using sudo apt-install. The link that describes the source distribution dependables cannot be reached. Does somebody have a document somewhere that I can browse to compile ? Regards, Ashwin.
pearse

Thanks for reporting that broken link Ashwin.  It should be fixed now.

I've never tried compiling with icc, only gcc; so you may have mixed results.  Let us know if you get caught up later on down the line.

pearse

Thanks for reporting that broken link Ashwin.  It should be fixed now.

I've never tried compiling with icc, only gcc; so you may have mixed results.  Let us know if you get caught up later on down the line.

winash12_660754
I just tried that link again and I could not go there. I am talking of the source dependables. It goes to some test7 server and it just hangs.
pearse

Could you paste the url to the broken link?  Thanks again.

winash12_660754
I can go here just fine - https://www.vapor.ucar.edu/docs/vapor-installation/vapor-source-installa... but this one just hangs endlessly - https://test7.vapor.cms.ucar.edu/internal/downloads/source-distributions This one tells you the 3rd party libraries which will need to be downloaded and installed.
pearse

Oi.  That's definately the wrong link.  The correct one is below.  Question now is: what hyperlink is pointing to the wrong page?  I hope I'm not pestering, but could you share the page that has the broken link on it, so I can chage that too?

https://www.vapor.ucar.edu/internal/downloads/source-distributions

winash12_660754
The page that has the broken link in this one - https://www.vapor.ucar.edu/docs/vapor-installation/vapor-source-installa... Also is there a page that describes how to compile the source. I just typed make. But I am sure that there are other commands I need to run prior to that. There is not a configure file. Suggestions ?
winash12_660754
I see two files that I may need to modify - options.mk and vapor-install.csh.sed. Is there a link that says what I must do with them ?
pearse

Great.  Thanks for reporting the broken link.

options.mk should point to the third party dependencies that are described here.  The link below has more info too.

https://www.vapor.ucar.edu/vapor-installation

winash12_660754
When I untar the tar file I do not see a vapor-install.csh. I see a vapor-install.csh.sed.
winash12_660754
I think I got it. After installing all the dependables if you issue the command make then that creates the vapor-install.csh for you
pearse

Awesome.  I hope you have smooth sailing from here but let us know if you hit turbulence.  Out of curiousity, are you trying to add a particular feature that we don't support?

winash12_660754
I did hit a road block compiling qt-everywhere-opensource-sr-4.6.1. In order to compile with icc I had to change the configure file to use icc instead of gcc Linux:*) case "$UNAME_MACHINE" in x86_64|s390x|ppc64) PLATFORM=linux-icc ;; *) PLATFORM=linux-icc ;; Then I issued make and I got these errors. Should I ask these compile type errors in a C++ forum ? icpc -c -wd654,1572 -g -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -I/usr/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-icc -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared /qpnghandler.o image/qpnghandler.cpp image/qpnghandler.cpp(169): error: pointer to incomplete class type is not allowed if (bit_depth == 1 && info_ptr->channels == 1) { ^ image/qpnghandler.cpp(214): error: pointer to incomplete class type is not allowed const int g = info_ptr->trans_color.gray; ^ image/qpnghandler.cpp(223): error: pointer to incomplete class type is not allowed && info_ptr->num_palette <= 256) ^ image/qpnghandler.cpp(236): error: pointer to incomplete class type is not allowed image.setColorCount(info_ptr->num_palette); ^ image/qpnghandler.cpp(239): error: pointer to incomplete class type is not allowed while (i < info_ptr->num_trans) { ^ image/qpnghandler.cpp(241): error: pointer to incomplete class type is not allowed info_ptr->palette[i].red, ^ image/qpnghandler.cpp(242): error: pointer to incomplete class type is not allowed info_ptr->palette[i].green, ^ image/qpnghandler.cpp(243): error: pointer to incomplete class type is not allowed info_ptr->palette[i].blue, ^ image/qpnghandler.cpp(247): error: pointer to incomplete class type is not allowed info_ptr->trans_alpha[i] ^ image/qpnghandler.cpp(254): error: pointer to incomplete class type is not allowed while (i < info_ptr->num_palette) { ^ image/qpnghandler.cpp(256): error: pointer to incomplete class type is not allowed info_ptr->palette[i].red, ^
winash12_660754
Any updates on this ? I did post a question on a Qt forum but I am yet to hear on this.
pearse

Sorry for the delayed response.  Our whole team is a conference this week so response times might lag a bit.

Could you email that terminal output to vapor@ucar.edu?  The formatting on our forums can be rough around the edges and I'm having trouble making sense of it as a large block of text.  Hope this isn't an inconvenience.

-Scott

winash12_660754
Success after a long hard battle ! VAPOR installed on Ubuntu 14.04 compiled with Intel icpc compiler.