Hello everyone!
I have installed yorick-4.6.1 on three computers (two linux and a mac)
and am having a couple of problems that someone may be able to help
with.
1. I am not able to install hdf5 on any of the machines.
marcos@marcos-laptop:~/yorick-2.1/yorick-hdf5-0.8.0$
yorick -batch make.i
updated ./Makefile
marcos@marcos-laptop:~/yorick-2.1/yorick-hdf5-0.8.0$
make
cc -O -D H5_USE_16_API -fPIC -DPLUG_IN -I.
-I/home/marcos/yorick-2.1/Linux-i686/include -c -o hdf5.o hdf5.c
In file included from hdf5.c:35:
hdf5.h:24:22: error: H5public.h: No such file or directory
hdf5.h:25:44: error: H5Apublic.h: No such file or directory
hdf5.h:26:48: error: H5ACpublic.h: No such file or directory
hdf5.h:27:42: error: H5Dpublic.h: No such file or directory
hdf5.h:28:40: error: H5Epublic.h: No such file or directory
It is easy to get around this by creating a dummy file called
hdf5.i and then running yao.
2. Installing yao 4.6.1 on Antonin's Mac is failing:
dhcp244:yorick-yao-4.6.1 abouchez$ make
>> cc -O -DPLUG_IN -I. -I/Users/abouchez/yorick-2.1/include -c -o aoSimulUtils.o aoSimulUtils.c
>> cc -O -DPLUG_IN -I. -I/Users/abouchez/yorick-2.1/include -c -o utils.o utils.c
>> cc -O -DPLUG_IN -I. -I/Users/abouchez/yorick-2.1/include -c -o yao_fast.o yao_fast.c
>> /Users/abouchez/yorick-2.1/lib/codger w yao yao_fast.i yao_utils.i
>> found yao_fast.i in current directory
>> found yao_utils.i in current directory
>> cc -O -DPLUG_IN -I. -I/Users/abouchez/yorick-2.1/include -c -o ywrap.o ywrap.c
>> cc -O -bundle -bundle_loader /Users/abouchez/yorick-2.1/bin/yorick -o yao.so aoSimulUtils.o utils.o yao_fast.o ywrap.o -lfftw3f -lm
>> Undefined symbols:
>> "__poidev", referenced from:
>> __shwfs_spots2slopes in yao_fast.o
>> __cwfs in yao_fast.o
>> __cwfs in yao_fast.o
>> "__eclat_float", referenced from:
>> __calc_psf_fast in yao_fast.o
>> "__gaussdev", referenced from:
>> __shwfs_spots2slopes in yao_fast.o
>> __cwfs in yao_fast.o
>> __cwfs in yao_fast.o
>> __cwfs in yao_fast.o
>> __cwfs in yao_fast.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make: *** [yao.so] Error 1
>>
Francois thought that this might have been due to a problem with
imutils, since poidev and gaussdev are imutil files. However, imutil
passes the yorick -i check.i test and we can call the imutil files from
yorick without any problems.
Does anyone have any ideas?
3 Finally, I have merged my changes into 4.6.1 and hopefully will be
able to release the changes. Amongst the new features:
open-loop, closed-loop and pseudo-open loop control
mmse and mmse-sparse now work with mcao systems
Full LTAO simulations (using pseudo open-loop control) including
tip-tilt tomography
Thanks a lot in anticipation!
Marcos
--
Marcos van Dam
Adaptive Optics Scientist
Flat Wavefronts
Postal Address: PO BOX 1060, Christchurch 8140, New Zealand
Cell phone: +64 21 148 1956
Skype: marcos.van.dam
Website: www.flatwavefronts.com