Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am
trying to create a soft link, but I cannot seem to find a way to do it. I
can see that hard links can be created using H5L.createHardLink, but there
is no corresponding H5L.createSoftLink. Is there another way to create a
soft link ?

Friends don’t let friends use HDF5DotNet wrapper.
Use HDF.PInvoke.H5L.create_soft from HDF.PInvoke

- Code at https://github.com/HDFGroup/HDF.PInvoke
- Binaries in the NuGet Gallery https://www.nuget.org/packages/HDF.PInvoke/

G.

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Chris Hargreaves
Sent: Monday, September 12, 2016 2:00 PM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am trying to create a soft link, but I cannot seem to find a way to do it. I can see that hard links can be created using H5L.createHardLink, but there is no corresponding H5L.createSoftLink. Is there another way to create a soft link ?

Chris! Long time no hear…. I’d concur with Gerd. The hdf5.net home page specifically states it only wraps a subset, and all the examples are in python (??).
What’s your application? I’ve had cause to write HDF5 code, wrapping some business rules inside a TCL extension dll written in C++.
Good to see you’re still at the sharp end :slight_smile:

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gerd Heber
Sent: 12 September 2016 21:06
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Friends don’t let friends use HDF5DotNet wrapper.
Use HDF.PInvoke.H5L.create_soft from HDF.PInvoke

- Code at https://github.com/HDFGroup/HDF.PInvoke
- Binaries in the NuGet Gallery https://www.nuget.org/packages/HDF.PInvoke/

G.

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org]<mailto:[mailto:hdf-forum-bounces@lists.hdfgroup.org]> On Behalf Of Chris Hargreaves
Sent: Monday, September 12, 2016 2:00 PM
To: hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
Subject: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am trying to create a soft link, but I cannot seem to find a way to do it. I can see that hard links can be created using H5L.createHardLink, but there is no corresponding H5L.createSoftLink. Is there another way to create a soft link ?

<html><head></head><body><font color="black" face="arial" size="2">
This email and its attachments may contain confidential and/or privileged information. If you have received them in error you must not use, copy or disclose their content to any person. Please notify the sender immediately and then delete this email from your system. This e-mail has been scanned for viruses, but it is the responsibility of the recipient to conduct their own security measures. Airbus Operations Limited is not liable for any loss or damage arising from the receipt or use of this e-mail.

Airbus Operations Limited, a company registered in England and Wales, registration number, 3468788. Registered office: Pegasus House, Aerospace Avenue, Filton, Bristol, BS34 7PA, UK.
</font>
</body>
</html>

Hey Gerd.

If the wrappers are working for us. Is there a good reason to change? Is PInvoke faster, for example?

S

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gerd Heber
Sent: Monday, September 12, 2016 4:06 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Friends don’t let friends use HDF5DotNet wrapper.
Use HDF.PInvoke.H5L.create_soft from HDF.PInvoke

- Code at https://github.com/HDFGroup/HDF.PInvoke
- Binaries in the NuGet Gallery https://www.nuget.org/packages/HDF.PInvoke/

G.

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Chris Hargreaves
Sent: Monday, September 12, 2016 2:00 PM
To: hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
Subject: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am trying to create a soft link, but I cannot seem to find a way to do it. I can see that hard links can be created using H5L.createHardLink, but there is no corresponding H5L.createSoftLink. Is there another way to create a soft link ?

If the wrappers are working for us. Is there a good reason to change? Is PInvoke faster, for example?

Since Gerd's on vacation, I'll do my best impersonation... The short answer:

  * HDF5DotNet wrapper: no longer supported and officially sunset
  * HDF.PInvoke: officially supported method for connected HDF5 to .NET

FYI... for those users that want advanced .NET (or Python or R) support -- code review, performance tuning, etc. --- these are now included in the our new Support Packages:

https://www.hdfgroup.org/support/

Thanks,

- Dave

···

________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Mitchell, Scott <SMITCH12@harris.com>
Sent: Monday, September 19, 2016 1:44:27 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Hey Gerd.

If the wrappers are working for us. Is there a good reason to change? Is PInvoke faster, for example?

S

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gerd Heber
Sent: Monday, September 12, 2016 4:06 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Friends don't let friends use HDF5DotNet wrapper.
Use HDF.PInvoke.H5L.create_soft from HDF.PInvoke

- Code at https://github.com/HDFGroup/HDF.PInvoke
- Binaries in the NuGet Gallery https://www.nuget.org/packages/HDF.PInvoke/

G.

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Chris Hargreaves
Sent: Monday, September 12, 2016 2:00 PM
To: hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
Subject: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am trying to create a soft link, but I cannot seem to find a way to do it. I can see that hard links can be created using H5L.createHardLink, but there is no corresponding H5L.createSoftLink. Is there another way to create a soft link ?

I think Dave's support argument is the most compelling.
One might add thread-safety (the old wrappers are NOT thread-safe)
and completeness (full coverage of the HDF5 C-API).

If you are comfortable with the old wrappers and neither threading
nor additional functions are on the horizon, keep using them.

We haven't done a performance comparison between the old wrappers
and HDF.PInvoke. I don't know much about the PInvoke vs. managed
C++ dispatch overheads, but that's about to what it comes down.

Best, G.

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of David Pearah
Sent: Monday, September 19, 2016 1:53 PM
To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

If the wrappers are working for us. Is there a good reason to change? Is PInvoke faster, for example?

Since Gerd's on vacation, I'll do my best impersonation... The short answer:

  * HDF5DotNet wrapper: no longer supported and officially sunset
  * HDF.PInvoke: officially supported method for connected HDF5 to .NET

FYI... for those users that want advanced .NET (or Python or R) support -- code review, performance tuning, etc. --- these are now included in the our new Support Packages:

https://www.hdfgroup.org/support/

Thanks,

- Dave
________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org<mailto:hdf-forum-bounces@lists.hdfgroup.org>> on behalf of Mitchell, Scott <SMITCH12@harris.com<mailto:SMITCH12@harris.com>>
Sent: Monday, September 19, 2016 1:44:27 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Hey Gerd.

If the wrappers are working for us. Is there a good reason to change? Is PInvoke faster, for example?

S

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gerd Heber
Sent: Monday, September 12, 2016 4:06 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

Friends don't let friends use HDF5DotNet wrapper.
Use HDF.PInvoke.H5L.create_soft from HDF.PInvoke

- Code at https://github.com/HDFGroup/HDF.PInvoke
- Binaries in the NuGet Gallery https://www.nuget.org/packages/HDF.PInvoke/

G.

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Chris Hargreaves
Sent: Monday, September 12, 2016 2:00 PM
To: hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
Subject: [Hdf-forum] Fwd: Using HDF5DotNet to create soft links

I am writing an application, in C#, which uses the HDF5DotNet wrapper. I am trying to create a soft link, but I cannot seem to find a way to do it. I can see that hard links can be created using H5L.createHardLink, but there is no corresponding H5L.createSoftLink. Is there another way to create a soft link ?