Comments (17)
@lizhuoran1019 thanks, issue confirmed.
CreateCoordZFromVector has been recently updated to WGS model while getCartX() etc... are still using spherical coordinates.
I will try to release a patch for you to test probably by the end of this week.
Side effect of #7
from woss.
Thank you for your reply.
I'm looking forward to using the updated woss library.
from woss.
@lizhuoran1019 patch will have some delay since I'm re-working the coord-to-cart conversion and back.
In the meanwhile, taking the definition of CoordZ::getCoordZFromCartesianCoords from previous WOSS release / git commit, should temporarily solve the issue.
Let me know if this worked for you.
from woss.
@lizhuoran1019 I will post the final patch for you to test next week.
Cheers
from woss.
@lizhuoran1019 please test the attached .diff file and confirm that the issue is solved also at your side.
After confirmation I will proceed with a new WOSS release.
thanks again
coords_final.zip
from woss.
Sorry, I'm not very good at git. When I apply the diff file using the command below, it shows some conflicts. Is there any git command to resolve these conflicts? Or can I just modify these conflicts manually?
from woss.
@lizhuoran1019 are you applying the diff to the latest version of woss?
from woss.
@lizhuoran1019 please update woss to latest release and copy paste the attached files
woss_patched_files.zip
from woss.
Thanks a lot, I installed it successfully.
But when I use the same test code as before in ns3, it shows the following error:
C:\WINDOWS\system32\wsl.exe --distribution ubuntu-20.04-lts --exec /bin/bash -c "cd /home/lzr/ns-3-allinone/ns-3-dev/build/scratch && /home/lzr/ns-3-allinone/ns-3-dev/build/scratch/ns3-dev-woss-coordz-test-debug"
/home/lzr/ns-3-allinone/ns-3-dev/build/scratch/ns3-dev-woss-coordz-test-debug: symbol lookup error: /home/lzr/ns-3-allinone/ns-3-dev/build/lib/libns3-dev-woss-ns3-debug.so: undefined symbol: _ZNK4woss6CoordZ8getCartZEv
进程已结束,退出代码127
from woss.
@lizhuoran1019 re-compile re-link and re-install woss-ns3 as well first, then retry again.
from woss.
I tried a few times, but it always shows an error like this:
from woss.
@lizhuoran1019 did you re-compile, re-installed WOSS first, and then woss-ns3 on top of the patched WOSS?
woss-ns3 needs to link against the newly patched WOSS libraries
from woss.
Yes, I have recompiled and installed woss according to the instructions in the WOSS/INSTALL file.
Maybe there is some problem with my operation, I will try again.
from woss.
I will re-check on my side later during the day.
from woss.
@lizhuoran1019 I'm sorry but there is something wrong on your side.
this is what I did on my side, I've:
- installed WOSS prerequisites as per WOSS instructions (bellhop, NetCDF4 etc...)
- cloned this very public WOSS repository
- overwritten the THREE files that I gave you:
--woss/woss_def/coordinates-definitions.h
--woss/woss_def/coordinates-definitions.cpp
--tests/woss-coord-definitions-test.cpp
- configured it with
./configure --with-pthread --with-ns-allinone=<path> --with-nsmiracle=/<path> --with-netcdf4=<path> --prefix=<path>
as written in WOSS doxygen docs - performed
make
thenmake check
thenmake install
then I've:
- cloned ns-3-dev repository
- aligned the repo to release 3.35 with
git checkout ns-3.35
, which is the last release with waf support. (woss-ns3 will soon have cmake support) - cloned woss-ns3 repository into /src and configured it with the correct path, pointing them out to NetCDF4 and WOSS repo previously downloaded
./waf configure -d debug --enable-examples --enable-tests --with-woss-source=<path> --with-woss-library=<path> --with-netcdf4-install=<path> CXXFLAGS="-Wall -Werror -Wno-unused-variable"
- then ran
./waf --run=woss-aloha-example
-- which gave me the correct output
WossManagerResDbMT::checkConcurrentThreads() 3
WossManagerResDbMT::checkConcurrentThreads() 3
Received a packet of size 1000 bytes
Received a total of 1000 bytes at sink
So please perform these steps first and then continue with your custom scratch test.
from woss.
It worked!!!
My problem may be caused by not using --with-ns-allinone=.
Thank you very much for your reply and help.
from woss.
@lizhuoran1019 WOSS 1.12.3 has been released with the final fix.
I'm closing this issue
from woss.
Related Issues (12)
- software application HOT 2
- Fix typo in TCL sample
- update main website URL
- fix WOSS -woverloaded-virtual introduced by gcc 13 HOT 1
- Perform SSP normalization only if the user requests it HOT 1
- check if WOSS is compatible with latest bellhop (june 2020) HOT 2
- shade file reader should be updated to latest bellhop syntax HOT 1
- BellhopWoss::writeRayOptions() should properly write decimal degrees angles HOT 1
- Update WOA SSP databases to 2018 version HOT 1
- Improve BellhopWoss SSP handling HOT 1
- WOSS 1.12.1 compiling issue with older gcc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woss.