Compiling VARiD in OS X.

19 views
Skip to first unread message

kast...@gmail.com

unread,
May 29, 2011, 8:52:01 AM5/29/11
to varid-community
Hi,

I am not able to compile VARiD in mac running OS X (both Leopard and
Snow Leopard). These are the errors that I get when I issue 'make'
after '.configure':

-----------------------------------------------------------------------------------------------------------------------
make all-recursive
Making all in helper
make[2]: Nothing to be done for `all'.
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in vcf_tools
make[2]: Nothing to be done for `all'.
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -Wall -g -O2 -MT
run_wrap.o -MD -MP -MF ".deps/run_wrap.Tpo" -c -o run_wrap.o
run_wrap.c; \
then mv -f ".deps/run_wrap.Tpo" ".deps/run_wrap.Po"; else rm -f
".deps/run_wrap.Tpo"; exit 1; fi
run_wrap.c:35:17: error: omp.h: No such file or directory
run_wrap.c: In function ‘parse_args’:
run_wrap.c:602: warning: implicit declaration of function
‘omp_set_num_threads’
make[2]: *** [run_wrap.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------

Any help?

Thanks
-Kasthuri

Misko Dzamba

unread,
Jun 3, 2011, 12:58:33 AM6/3/11
to varid-c...@googlegroups.com
Hi Kasthuri,
Sorry for the late reply. There are some problems when compiling the
most recent version of VARiD on OSX. OSX 10.6 ships with a newer
version of GCC and I believe the linked gives issues when trying to
compile a static executable. On the other hand 10.5 has a old gcc that
will probably not support openmp thread libraries. To resolve this you
can download and install gcc and its associated libraries from the
following page,
http://hpc.sourceforge.net/
Once this is installed, compiling should work. If it does not, please
let me know.

Misko

kast...@gmail.com

unread,
Jun 3, 2011, 10:17:37 AM6/3/11
to varid-community
Thanks. Will it be possible for you to send me the compiled file if
you have one. That way I can avoid re-installing gcc when I have one.

-Kasthuri

On Jun 3, 12:58 am, Misko Dzamba <mouse9...@gmail.com> wrote:
> Hi Kasthuri,
> Sorry for the late reply. There are some problems when compiling the
> most recent version of VARiD on OSX. OSX 10.6 ships with a newer
> version of GCC and I believe the linked gives issues when trying to
> compile a static executable. On the other hand 10.5 has a old gcc that
> will probably not support openmp thread libraries. To resolve this you
> can download and install gcc and its associated libraries from the
> following page,http://hpc.sourceforge.net/
Reply all
Reply to author
Forward
0 new messages